Patch level :
Files correlati : Ricompilazione Demo : [ ] Commento : Scadenze donazione: aggiunta scelta giorno esclusiva (elimina quelli senza giorno preferito) git-svn-id: svn://10.65.10.50/trunk@9072 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
499b3f1cb9
commit
5e3ed3ba8c
@ -62,7 +62,7 @@ class TStampaScadenze : public TPrintapp
|
|||||||
TDate _data_stampa;
|
TDate _data_stampa;
|
||||||
TDate _dataini, _datafin, _dataultid;
|
TDate _dataini, _datafin, _dataultid;
|
||||||
int _intminconv;
|
int _intminconv;
|
||||||
bool _usomodo, _usasez, _registra;
|
bool _usomodo, _usasez, _registra, _gpd_esclusivo;
|
||||||
TString16 _giorni, _punto;
|
TString16 _giorni, _punto;
|
||||||
TString16 _procdon, _modo, _ab01, _ab02, _ab03, _rh;
|
TString16 _procdon, _modo, _ab01, _ab02, _ab03, _rh;
|
||||||
ts _tipostampa;
|
ts _tipostampa;
|
||||||
@ -439,7 +439,7 @@ bool TStampaScadenze::filter_func_scadenze(const TRelation* rel)
|
|||||||
{
|
{
|
||||||
bool almenoungiorno = FALSE;
|
bool almenoungiorno = FALSE;
|
||||||
const TString16 giopredon = sog.get(SOG_GIOPREDON);
|
const TString16 giopredon = sog.get(SOG_GIOPREDON);
|
||||||
if (giopredon.blank())
|
if ((giopredon.blank()) && (!app()._gpd_esclusivo))
|
||||||
almenoungiorno = TRUE;
|
almenoungiorno = TRUE;
|
||||||
else
|
else
|
||||||
for (int i = 0; i < giorni.len(); i++)
|
for (int i = 0; i < giorni.len(); i++)
|
||||||
@ -655,6 +655,7 @@ bool TStampaScadenze::set_print(int m)
|
|||||||
_giorni[5] = 'X';
|
_giorni[5] = 'X';
|
||||||
if (_msk->get_bool(F_GPD_DOM))
|
if (_msk->get_bool(F_GPD_DOM))
|
||||||
_giorni[6] = 'X';
|
_giorni[6] = 'X';
|
||||||
|
_gpd_esclusivo = _msk->get_bool(F_GPD_ESCLUSIVO);
|
||||||
// filtro per sezioni selezionati
|
// filtro per sezioni selezionati
|
||||||
filtra_sezioni();
|
filtra_sezioni();
|
||||||
// filtro per categorie
|
// filtro per categorie
|
||||||
|
@ -45,6 +45,7 @@
|
|||||||
#define F_PUNTO 320
|
#define F_PUNTO 320
|
||||||
#define F_D_PUNTO 321
|
#define F_D_PUNTO 321
|
||||||
#define F_REGISTRA 322
|
#define F_REGISTRA 322
|
||||||
|
#define F_GPD_ESCLUSIVO 323
|
||||||
|
|
||||||
#define F_ELENCO 401
|
#define F_ELENCO 401
|
||||||
#define F_COMPLETO 402
|
#define F_COMPLETO 402
|
||||||
|
@ -351,6 +351,16 @@ BEGIN
|
|||||||
PROMPT 36 13 ""
|
PROMPT 36 13 ""
|
||||||
END
|
END
|
||||||
|
|
||||||
|
TEXT DLG_NULL
|
||||||
|
BEGIN
|
||||||
|
PROMPT 40 12 "Esclusivo"
|
||||||
|
END
|
||||||
|
|
||||||
|
BOOLEAN F_GPD_ESCLUSIVO
|
||||||
|
BEGIN
|
||||||
|
PROMPT 44 13 ""
|
||||||
|
END
|
||||||
|
|
||||||
BOOLEAN F_USOMODO
|
BOOLEAN F_USOMODO
|
||||||
BEGIN
|
BEGIN
|
||||||
PROMPT 2 14 "Uso modalita' preferita "
|
PROMPT 2 14 "Uso modalita' preferita "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user