Patch level : 12.0 668

Files correlati     : li
Commento            : Aggiunto else mancante
This commit is contained in:
Mattia Tollari 2019-01-07 17:43:35 +01:00
parent 51a3faef37
commit 8689123a33

View File

@ -83,9 +83,12 @@ bool TLetint_mask::on_field_event(TOperable_field& o, TField_event e, long jolly
if (get_date(F_DATAREG) < old_data) if (get_date(F_DATAREG) < old_data)
return error_box(TR("La data di registrazione non puo' essere antecedente a %s"), (const char*) old_data.string()); return error_box(TR("La data di registrazione non puo' essere antecedente a %s"), (const char*) old_data.string());
} }
TDate ultima = ultima_stampa(anno); else
if (get_date(F_DATAREG) <= ultima) {
return error_box(TR("La data di registrazione non puo' essere antecedente a %s"), (const char*) ultima.string()); TDate ultima = ultima_stampa(anno);
if (get_date(F_DATAREG) <= ultima)
return error_box(TR("La data di registrazione non puo' essere antecedente a %s"), (const char*)ultima.string());
}
} }
} }
else else