From 989fc27186b171312c8bdabdbb728a6e1d665aaa Mon Sep 17 00:00:00 2001 From: cris Date: Thu, 13 Jan 2005 13:27:32 +0000 Subject: [PATCH] Patch level : 1.7 at Files correlati : at2.exe at2600a.msk Ricompilazione Demo : [ ] Commento : in stampa iscritti/dimessi aggiunta scelta per notiziario (Morena AVIS Rimini) git-svn-id: svn://10.65.10.50/trunk@12596 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- at/at2600.cpp | 9 +++++++++ at/at2600a.h | 1 + at/at2600a.uml | 6 ++++++ 3 files changed, 16 insertions(+) diff --git a/at/at2600.cpp b/at/at2600.cpp index 0658c4db9..f8d430cb0 100755 --- a/at/at2600.cpp +++ b/at/at2600.cpp @@ -354,7 +354,16 @@ bool TStampaIscritti::set_print(int m) _dataini = _msk->get(F_DATAINI); _datafin = _msk->get(F_DATAFIN); _attuale = _msk->get_bool(F_ATTUALE); + bool notiziario = _msk->get_bool(F_NOTIZIARIO); _numdon = _msk->get_int(F_NUMDON); + if (notiziario) + { + TString80 filtro; + filtro = "(90->NOTIZIARIO == \"X\")"; + current_cursor()->setfilter(filtro, TRUE); + } + else + current_cursor()->setfilter("", TRUE); current_cursor()->set_filterfunction(filter_func_iscritti, TRUE); reset_print(); printer().footerlen(0); diff --git a/at/at2600a.h b/at/at2600a.h index d3d37b37d..86ad67506 100755 --- a/at/at2600a.h +++ b/at/at2600a.h @@ -28,6 +28,7 @@ #define F_DATAFIN 303 #define F_ATTUALE 304 // flag per stampare solo soggetti che sono ancora attualmente nella situazione richiesta (i/d) #define F_NUMDON 305 // soggetti che hanno almeno tot donazioni +#define F_NOTIZIARIO 306 // soggetti che vogliono il notiziario #define F_ELENCO 401 #define F_ETICHETTE 402 diff --git a/at/at2600a.uml b/at/at2600a.uml index 28e3e32e5..75e6564ed 100755 --- a/at/at2600a.uml +++ b/at/at2600a.uml @@ -302,10 +302,16 @@ BEGIN HELP "Stampa solo i soggetti che sono ancora nella situazione scelta" END +BOOLEAN F_NOTIZIARIO +BEGIN + PROMPT 2 14 "Stampa solo i soggetti che hanno dato il consenso per il notiziario" +END + NUMBER F_NUMDON 3 BEGIN PROMPT 2 15 "Numero minimo donazioni " END + ENDPAGE ENDMASK