Patch level :4.0 738
Files correlati : Ricompilazione Demo : [ ] Commento :aggiunto il filtro per fase in modo rigido; la maschera deve essere successivamente modificata per farle leggere la configurazione di analitica git-svn-id: svn://10.65.10.50/trunk@15460 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
7562e9fe56
commit
de2972ca3f
@ -79,16 +79,23 @@ END
|
|||||||
BOOLEAN F_FASI
|
BOOLEAN F_FASI
|
||||||
BEGIN
|
BEGIN
|
||||||
PROMPT 2 7 "Esplodere Fasi"
|
PROMPT 2 7 "Esplodere Fasi"
|
||||||
|
MESSAGE FALSE CLEAR,F_FASE
|
||||||
|
MESSAGE TRUE ENABLE,F_FASE
|
||||||
|
END
|
||||||
|
|
||||||
|
STRING F_FASE 10
|
||||||
|
BEGIN
|
||||||
|
PROMPT 20 7 "Fase "
|
||||||
END
|
END
|
||||||
|
|
||||||
BOOLEAN F_VITAINTERA
|
BOOLEAN F_VITAINTERA
|
||||||
BEGIN
|
BEGIN
|
||||||
PROMPT 20 7 "Includere esercizi successivi (vita intera)"
|
PROMPT 2 8 "Includere esercizi successivi (vita intera)"
|
||||||
END
|
END
|
||||||
|
|
||||||
RADIOBUTTON F_TIPOSTIMA 1 22
|
RADIOBUTTON F_TIPOSTIMA 1 22
|
||||||
BEGIN
|
BEGIN
|
||||||
PROMPT 2 8 "Tipo di stima"
|
PROMPT 40 8 "Tipo di stima"
|
||||||
FLAGS "Z"
|
FLAGS "Z"
|
||||||
ITEM "T|Tempo"
|
ITEM "T|Tempo"
|
||||||
ITEM "C|Costi"
|
ITEM "C|Costi"
|
||||||
|
@ -623,9 +623,14 @@ void TPrint_saldana_recordset::requery()
|
|||||||
|
|
||||||
TString query;
|
TString query;
|
||||||
query = "USE SALDANA";
|
query = "USE SALDANA";
|
||||||
//stampa standard non a vita intera per la 3800
|
if (_tipo == 8)
|
||||||
if (_tipo == 8 && !_vitaintera)
|
{
|
||||||
query << "\nTO ANNO=" << _anno;
|
if (_use_fasi && _fase.full())
|
||||||
|
query << " SELECT FASE=\"" << _fase << "\"";
|
||||||
|
//stampa standard non a vita intera per la 3800
|
||||||
|
if (!_vitaintera)
|
||||||
|
query << "\nTO ANNO=" << _anno;
|
||||||
|
}
|
||||||
|
|
||||||
TISAM_recordset saldana(query);
|
TISAM_recordset saldana(query);
|
||||||
|
|
||||||
@ -832,6 +837,7 @@ void TPrint_saldana_recordset::set_filter(const TMask& msk)
|
|||||||
_tipostima = msk.get(F_TIPOSTIMA)[0];
|
_tipostima = msk.get(F_TIPOSTIMA)[0];
|
||||||
_vitaintera = msk.get_bool(F_VITAINTERA);
|
_vitaintera = msk.get_bool(F_VITAINTERA);
|
||||||
_use_fasi = msk.get_bool(F_FASI);
|
_use_fasi = msk.get_bool(F_FASI);
|
||||||
|
_fase = msk.get(F_FASE);
|
||||||
_depth = msk.get_int(F_DEPTH);
|
_depth = msk.get_int(F_DEPTH);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -65,6 +65,7 @@ class TPrint_saldana_recordset : public TRecordset
|
|||||||
int _depth;
|
int _depth;
|
||||||
bool _vitaintera, _use_fasi;
|
bool _vitaintera, _use_fasi;
|
||||||
char _tipostima;
|
char _tipostima;
|
||||||
|
TString16 _fase;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual int tipo() const { return _tipo; }
|
virtual int tipo() const { return _tipo; }
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
#define F_VITAINTERA 109
|
#define F_VITAINTERA 109
|
||||||
#define F_FASI 110
|
#define F_FASI 110
|
||||||
#define F_DEPTH 111
|
#define F_DEPTH 111
|
||||||
|
#define F_FASE 112
|
||||||
|
|
||||||
//campi generati dai piani dei conti
|
//campi generati dai piani dei conti
|
||||||
#define F_PRE0 320
|
#define F_PRE0 320
|
||||||
|
Loading…
x
Reference in New Issue
Block a user