From f0bac0840ce51a9bdcbe348bb06026595d0d0ccd Mon Sep 17 00:00:00 2001 From: cris Date: Mon, 11 May 1998 09:43:54 +0000 Subject: [PATCH] Patch level : Files correlati : Ricompilazione Demo : [ ] Commento : Gestione convocazioni: controllo che la data finale non sia inferiore a quella iniziale git-svn-id: svn://10.65.10.50/trunk@6624 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- at/at0400.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/at/at0400.cpp b/at/at0400.cpp index 5eab17183..88ce40689 100755 --- a/at/at0400.cpp +++ b/at/at0400.cpp @@ -231,6 +231,8 @@ bool TGestioneConvocazioni::dataini_handler(TMask_field& f, KEY k) if (f.to_check(k)) { const TDate data = f.get(); + if (data > f.mask().get_date(F_DATA)) + return f.error_box("ATTENZIONE! La data iniziale non puo' essere superiore alla data finale"); const int giorno = data.wday(); TString16 datagio = ""; switch (giorno)