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
This commit is contained in:
alex 2006-01-29 12:29:45 +00:00
parent a18e2b4500
commit d3a209fdd9
2 changed files with 7 additions and 7 deletions

View File

@ -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:

View File

@ -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