From d3a209fdd93d85687ce5078a2ee24f588701997b Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 29 Jan 2006 12:29:45 +0000 Subject: [PATCH] Patch level : 2.2 328 Files correlati : ve0.exe Ricompilazione Demo : [ ] Commento : liminatocheck nel calcolo ritenuta git-svn-id: svn://10.65.10.50/trunk@13735 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- in/in0700.cpp | 12 ++++++------ in/in0700a.uml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/in/in0700.cpp b/in/in0700.cpp index 658a025f1..b0a3234fd 100755 --- a/in/in0700.cpp +++ b/in/in0700.cpp @@ -18,7 +18,7 @@ protected: public: virtual short period_field() const { return F_PERIODO_M; } - virtual int anno() const { return get_int(O_ANNO); } + virtual int anno() const { return get_int(F_ANNO); } public: TRettifiche_mask(); @@ -51,13 +51,13 @@ bool TRettifiche_mask::on_field_event(TOperable_field& o, TField_event e, long j bool ok = TIntra_mask::on_field_event(o, e, jolly); if (ok) switch (o.dlg()) { - case F_TIPO: + case O_ANNO: if (e == fe_init || e == fe_modify) { - // Ripeto il comportamento standard sul periodo di rettifica - show(O_PERIODO_M, field(F_PERIODO_M).shown()); - show(O_PERIODO_T, field(F_PERIODO_T).shown()); - show(O_PERIODO_A, field(F_PERIODO_A).shown()); + const char freq = frequenza(atoi(o.get())); + show(O_PERIODO_M, freq == 'M'); + show(O_PERIODO_T, freq == 'T'); + show(O_PERIODO_A, freq == 'A'); } break; case F_VALORE_STAT: diff --git a/in/in0700a.uml b/in/in0700a.uml index 8d03b57a2..05c3bf93e 100755 --- a/in/in0700a.uml +++ b/in/in0700a.uml @@ -47,7 +47,7 @@ END NUMBER O_ANNO 4 BEGIN PROMPT 21 4 "Anno " - FLAGS "AU" + FLAGS "AUG" FIELD ANNORETT CHECKTYPE REQUIRED NUM_EXPR #O_ANNO<=#O_ANNO