Patch level : 12.0 no-patch

Files correlati     : fp0400
Commento            : Corretta creazione righe elenco fatture passive
This commit is contained in:
Simone Palacino 2019-03-07 11:30:00 +01:00
parent 3b359be8e5
commit 333baa47cb

View File

@ -167,8 +167,6 @@ void TPassive_mask::aggiungi_riga(TLocalisamfile& clifo, TSheet_field& sf, TShee
const TString paa_codsdi = fp_db().sq_get("COD_SDI");
TString prot = fp_db().sq_get("TIPO_PROT");
TString filter_elab = get(F_FATTSEL);
TToken_string& row = sf.row(-1);
clifo.zero();
clifo.put(CLI_TIPOCF, 'F');
@ -176,6 +174,7 @@ void TPassive_mask::aggiungi_riga(TLocalisamfile& clifo, TSheet_field& sf, TShee
forn_code = find_fornitore(clifo);
if( filter_elab.blank() && forn_code != 0 || filter_elab == "E" && forn_code == 0 || filter_elab == "A")
{
TToken_string& row = sf.row(-1);
if (denom.blank()) {
denom = fp_db().sq_get("NOME");
denom << " " << fp_db().sq_get("COGNOME");