diff --git a/at/at4100.cpp b/at/at4100.cpp index cc4ad0141..18716ff45 100755 --- a/at/at4100.cpp +++ b/at/at4100.cpp @@ -62,7 +62,7 @@ class TStampaScadenze : public TPrintapp TDate _data_stampa; TDate _dataini, _datafin, _dataultid; int _intminconv; - bool _usomodo, _usasez, _registra; + bool _usomodo, _usasez, _registra, _gpd_esclusivo; TString16 _giorni, _punto; TString16 _procdon, _modo, _ab01, _ab02, _ab03, _rh; ts _tipostampa; @@ -439,7 +439,7 @@ bool TStampaScadenze::filter_func_scadenze(const TRelation* rel) { bool almenoungiorno = FALSE; const TString16 giopredon = sog.get(SOG_GIOPREDON); - if (giopredon.blank()) + if ((giopredon.blank()) && (!app()._gpd_esclusivo)) almenoungiorno = TRUE; else for (int i = 0; i < giorni.len(); i++) @@ -655,6 +655,7 @@ bool TStampaScadenze::set_print(int m) _giorni[5] = 'X'; if (_msk->get_bool(F_GPD_DOM)) _giorni[6] = 'X'; + _gpd_esclusivo = _msk->get_bool(F_GPD_ESCLUSIVO); // filtro per sezioni selezionati filtra_sezioni(); // filtro per categorie diff --git a/at/at4100a.h b/at/at4100a.h index b244aa43c..348785dc7 100755 --- a/at/at4100a.h +++ b/at/at4100a.h @@ -45,6 +45,7 @@ #define F_PUNTO 320 #define F_D_PUNTO 321 #define F_REGISTRA 322 +#define F_GPD_ESCLUSIVO 323 #define F_ELENCO 401 #define F_COMPLETO 402 diff --git a/at/at4100a.uml b/at/at4100a.uml index 3f6dd6c22..b543548a5 100755 --- a/at/at4100a.uml +++ b/at/at4100a.uml @@ -351,6 +351,16 @@ BEGIN PROMPT 36 13 "" END +TEXT DLG_NULL +BEGIN + PROMPT 40 12 "Esclusivo" +END + +BOOLEAN F_GPD_ESCLUSIVO +BEGIN + PROMPT 44 13 "" +END + BOOLEAN F_USOMODO BEGIN PROMPT 2 14 "Uso modalita' preferita "