431 lines
		
	
	
		
			13 KiB
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			431 lines
		
	
	
		
			13 KiB
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
#include <form.h>
 | 
						|
#include <mask.h>
 | 
						|
#include <printapp.h>
 | 
						|
#include <utility.h>
 | 
						|
 | 
						|
#include "lf.h"
 | 
						|
#include "soggetti.h"
 | 
						|
#include "sezioni.h"
 | 
						|
 | 
						|
#include "at4.h"
 | 
						|
#include "at4300a.h"
 | 
						|
#include "at4100b.h"
 | 
						|
#include "at4100c.h"
 | 
						|
 | 
						|
#define	ALIAS_TABCTD	100			// alias tabella categorie donatori
 | 
						|
#define ALIAS_TABTCS	200			// alias tabella tipi/esiti controlli sanitari
 | 
						|
#define ALIAS_TABLCP	300			// alias tabella località postali
 | 
						|
 | 
						|
#define STATO_IDONEO  'I'			// IDONEITA'
 | 
						|
#define STATO_FINESO	'F'			// FINE SOSPENSIONE
 | 
						|
// tpi di stampa
 | 
						|
enum ts { undefined = 0, elenco = 1, etichette = 2, cartoline = 3 };
 | 
						|
 | 
						|
// definizione form per etichette e cartoline
 | 
						|
class TConv_form : public TForm
 | 
						|
{
 | 
						|
public:
 | 
						|
	
 | 
						|
	virtual TCursor* cursor() const;
 | 
						|
	virtual TRelation* relation() const;
 | 
						|
	TPrint_section& get_body() { return section('B'); } ;
 | 
						|
  TConv_form(): TForm() {};
 | 
						|
  TConv_form(const char* form, const char * code = "", int editlevel = 0, const char* desc = "")
 | 
						|
    						: TForm(form,code,editlevel,desc) {};
 | 
						|
  virtual ~TConv_form() {};
 | 
						|
};
 | 
						|
 | 
						|
class TStampaConvocazioni : public TPrintapp
 | 
						|
{
 | 
						|
  static bool filter_func_conv(const TRelation* rel);
 | 
						|
 | 
						|
  TRelation*        _rel;
 | 
						|
  TMask*            _msk;
 | 
						|
  TConv_form*				_form_eti;	// per etichette
 | 
						|
  TConv_form*				_form_car;	// per cartoline
 | 
						|
  int 							_cur;
 | 
						|
  TDate 						_data_stampa;      
 | 
						|
  ts								_tipo_stampa;
 | 
						|
	TString16					_codsez, _codsot, _orario, _datacart;
 | 
						|
	TString80					_invitoper, _data, _presso1, _presso2, _presso3, _presso4;
 | 
						|
	TString80					_note, _intest1, _intest2, _intest3, _intest4;
 | 
						|
  TDate							_dataconv;
 | 
						|
  bool 							_usasez;
 | 
						|
  long 							_intmin, _intmax;
 | 
						|
  TParagraph_string _cognome_nome;
 | 
						|
  int								_numconv;
 | 
						|
  bool 							_definitiva;
 | 
						|
	  
 | 
						|
protected:
 | 
						|
  virtual bool user_create();
 | 
						|
  virtual bool user_destroy();
 | 
						|
  virtual bool set_print(int m);
 | 
						|
  virtual void set_page(int file, int cnt);
 | 
						|
  virtual bool preprocess_page (int file, int counter);
 | 
						|
  ts dati_cartoline();
 | 
						|
 | 
						|
public:
 | 
						|
  void crea_intestazione();
 | 
						|
  void filtra_sezioni();
 | 
						|
  void header_sezione(const TString16 codsez, const TString16 codsot);
 | 
						|
  void dati_sezione(const TString16 codsez, const TString16 codsot);
 | 
						|
  TStampaConvocazioni() : _data_stampa(TODAY), _cognome_nome("",25) {}
 | 
						|
};
 | 
						|
 | 
						|
HIDDEN inline TStampaConvocazioni& app() { return (TStampaConvocazioni&) main_app(); }
 | 
						|
 | 
						|
TCursor* TConv_form::cursor() const { return app().current_cursor(); }
 | 
						|
 | 
						|
TRelation* TConv_form::relation() const { return cursor()->relation(); }
 | 
						|
 | 
						|
ts TStampaConvocazioni::dati_cartoline()
 | 
						|
{
 | 
						|
	TMask msk("at4100b");
 | 
						|
 	if (msk.run() == K_ENTER) 
 | 
						|
 	{ 
 | 
						|
 		_invitoper = msk.get(F_INVITOPER);
 | 
						|
 		_data			 = msk.get(F_DATA);
 | 
						|
 		_presso1   = msk.get(F_PRESSO1);
 | 
						|
 		_presso2   = msk.get(F_PRESSO2);
 | 
						|
 		_presso3   = msk.get(F_PRESSO3);
 | 
						|
 		_presso4   = msk.get(F_PRESSO4);
 | 
						|
 		_datacart  = msk.get(F_DATACART);
 | 
						|
 		_orario  	 = msk.get(F_ORARIO);
 | 
						|
 		_note   	 = msk.get(F_NOTE);
 | 
						|
 		_usasez		 = msk.get_bool(F_USASEZ);
 | 
						|
 		return cartoline;
 | 
						|
 	}
 | 
						|
 	else
 | 
						|
 		return undefined;
 | 
						|
}
 | 
						|
 | 
						|
void TStampaConvocazioni::set_page(int file, int cnt)
 | 
						|
{
 | 
						|
	switch (_tipo_stampa)
 | 
						|
	{
 | 
						|
		case elenco:
 | 
						|
		{
 | 
						|
			if (printer().rows_left() < 3)
 | 
						|
				printer().formfeed();
 | 
						|
			reset_row(1);						
 | 
						|
			reset_row(2);						
 | 
						|
			reset_row(3);						
 | 
						|
			set_row(1,"@0g@S", 	FLD(LF_SOGGETTI,SOG_CODCL));
 | 
						|
			// stampare il numero convocazione
 | 
						|
			//set_row(1,"@7g@pn", FLD(LF_SOGGETTI,SOG_NUMCONV,"###"));
 | 
						|
			//set_row(1,"@7g#3a", &_numconv);
 | 
						|
  		set_row(1,"@11g#a", &_cognome_nome);
 | 
						|
			set_row(1,"@37g@ld",FLD(LF_SOGGETTI,SOG_DATANASC));
 | 
						|
			set_row(1,"@48g@S", FLD(LF_SOGGETTI,SOG_GRUPPOAB0));
 | 
						|
			set_row(1,"@52g@S", FLD(LF_SOGGETTI,SOG_RHANTID));
 | 
						|
			set_row(1,"@56g@S", FLD(LF_SOGGETTI,SOG_KELL));
 | 
						|
			set_row(1,"@60g@S", FLD(LF_SOGGETTI,SOG_FENOTIPORH));
 | 
						|
			set_row(1,"@67g@S", FLD(LF_SOGGETTI,SOG_DU));
 | 
						|
			set_row(1,"@71g@ld",FLD(LF_SOGGETTI,SOG_DATAULTDON));
 | 
						|
			set_row(1,"@82g@S", FLD(LF_SOGGETTI,SOG_TIPOULTDON));
 | 
						|
			set_row(1,"@85g@ld",FLD(LF_SOGGETTI,SOG_DATAPROSSI));
 | 
						|
			set_row(2,"@0g@S", 	FLD(LF_SOGGETTI,SOG_TESSAVIS));
 | 
						|
			set_row(2,"@37g@S", FLD(LF_SOGGETTI,SOG_CATDON));
 | 
						|
			set_row(2,"@71g@ld",FLD(LF_SOGGETTI,SOG_DATAULTID));
 | 
						|
			set_row(2,"@82g@S", FLD(LF_SOGGETTI,SOG_TIPOULTID));
 | 
						|
			set_row(2,"@85g@pn",FLD(LF_SOGGETTI,SOG_INTSI,"###"));
 | 
						|
			set_row(3,"");
 | 
						|
		}
 | 
						|
		break;
 | 
						|
		case etichette:
 | 
						|
		{
 | 
						|
			TPrint_section& corpo = _form_eti->get_body();
 | 
						|
			corpo.reset();
 | 
						|
			corpo.update();
 | 
						|
  		for (int i = 0; i < corpo.items(); i++)
 | 
						|
  		{
 | 
						|
  			TPrintrow& riga = corpo.row(i);
 | 
						|
  			set_row(i+1,"%s",riga.row());
 | 
						|
			}  			
 | 
						|
			force_setpage(TRUE);	// serve perchè alla prossima etichetta rifaccia la setpage
 | 
						|
														// altrimenti stampa sempre la stessa etichetta
 | 
						|
		}
 | 
						|
		break;
 | 
						|
		case cartoline:
 | 
						|
		{
 | 
						|
			TPrint_section& corpo = _form_car->get_body();
 | 
						|
			const TString16 codsez = current_cursor()->curr().get(SOG_CODSEZ);		
 | 
						|
			const TString16 codsot = current_cursor()->curr().get(SOG_CODSOT);		
 | 
						|
			if ((_codsez!=codsez)||(_codsot!=codsot))
 | 
						|
			{
 | 
						|
				_codsez = codsez;
 | 
						|
				_codsot = codsot;
 | 
						|
				dati_sezione(codsez, codsot);
 | 
						|
				corpo.reset();
 | 
						|
			  TForm_item& intest1 = corpo.find_field(CAR_INTEST1);
 | 
						|
			  intest1.set(_intest1);
 | 
						|
			  TForm_item& intest2 = corpo.find_field(CAR_INTEST2);
 | 
						|
			  intest2.set(_intest2);
 | 
						|
			  TForm_item& intest3 = corpo.find_field(CAR_INTEST3);
 | 
						|
			  intest3.set(_intest3);
 | 
						|
			  TForm_item& intest4 = corpo.find_field(CAR_INTEST4);
 | 
						|
			  intest4.set(_intest4);
 | 
						|
			  TForm_item& invito = corpo.find_field(CAR_INVITOPER);
 | 
						|
	  		invito.set(_invitoper);
 | 
						|
			  TForm_item& data = corpo.find_field(CAR_DATA);
 | 
						|
	  		data.set(_data);
 | 
						|
			  TForm_item& presso1 = corpo.find_field(CAR_PRESSO1);
 | 
						|
	  		presso1.set(_presso1);
 | 
						|
			  TForm_item& presso2 = corpo.find_field(CAR_PRESSO2);
 | 
						|
	  		presso2.set(_presso2);
 | 
						|
			  TForm_item& presso3 = corpo.find_field(CAR_PRESSO3);
 | 
						|
	  		presso3.set(_presso3);
 | 
						|
			  TForm_item& presso4 = corpo.find_field(CAR_PRESSO4);
 | 
						|
	  		presso4.set(_presso4);
 | 
						|
			  TForm_item& orario = corpo.find_field(CAR_ORARIO);
 | 
						|
	  		orario.set(_orario);
 | 
						|
			  TForm_item& datacart = corpo.find_field(CAR_DATACART);
 | 
						|
	  		datacart.set(_datacart);
 | 
						|
			  TForm_item& note = corpo.find_field(CAR_NOTE);
 | 
						|
	  		note.set(_note);
 | 
						|
			}
 | 
						|
			corpo.update();
 | 
						|
  		for (int i = 0; i < corpo.height(); i++)
 | 
						|
  		{
 | 
						|
  			TPrintrow& riga = corpo.row(i);
 | 
						|
  			set_row(i+1,riga);
 | 
						|
			}  			
 | 
						|
			force_setpage(TRUE);	// serve perchè alla prossima etichetta rifaccia la setpage
 | 
						|
														// altrimenti stampa sempre la stessa etichetta
 | 
						|
		}
 | 
						|
		break;
 | 
						|
	}					
 | 
						|
}
 | 
						|
 | 
						|
void TStampaConvocazioni::header_sezione(const TString16 codsez, const TString16 codsot)
 | 
						|
{
 | 
						|
	const TString80 densez = current_cursor()->curr(LF_SEZIONI).get(SEZ_DENSEZ);
 | 
						|
	const TString80 densot = current_cursor()->curr(LF_SEZIONI).get(SEZ_DENSOT);
 | 
						|
	TString intestazione(132);
 | 
						|
	intestazione = "Sezione: ";
 | 
						|
	intestazione << codsez;
 | 
						|
	intestazione << "/";
 | 
						|
	intestazione << codsot;
 | 
						|
	intestazione << " ";
 | 
						|
	intestazione << densez;
 | 
						|
	if ((densot.ok())&& (densot.not_empty()))
 | 
						|
	{
 | 
						|
		intestazione << "/";
 | 
						|
		intestazione << densot;
 | 
						|
	}		
 | 
						|
	intestazione.center_just();
 | 
						|
	set_header(1,"@0g%s", (const char*) intestazione);
 | 
						|
	return;
 | 
						|
}
 | 
						|
 | 
						|
bool TStampaConvocazioni::filter_func_conv (const TRelation* rel)
 | 
						|
{
 | 
						|
  TLocalisamfile& sog = rel->lfile();
 | 
						|
  const TDate	dataprossi = sog.get_date(SOG_DATAPROSSI);
 | 
						|
	const char stato = rel->curr(-ALIAS_TABTCS).get_char("S6");
 | 
						|
	const bool dimesso = rel->curr(-ALIAS_TABCTD).get_char("B0");
 | 
						|
  TDate dataconv = sog.curr().get_date(SOG_DATACONV);
 | 
						|
  if (dataprossi.ok())
 | 
						|
	{                                              
 | 
						|
		// intervallo tra data convocazione e data pross. si
 | 
						|
  	long intconvsi = app()._dataconv - dataprossi;  
 | 
						|
  	// intervallo tra data convocazione e data ultima convocazione 
 | 
						|
  	long intultconvsi = app()._dataconv - dataconv;
 | 
						|
  	if ((intconvsi >= 0) && (intconvsi < app()._intmax) && (intultconvsi > app()._intmin) && ((stato == STATO_IDONEO) || (stato == STATO_FINESO)) && (dimesso != 'X')) 
 | 
						|
  		return TRUE;
 | 
						|
  	else          
 | 
						|
  		return FALSE;
 | 
						|
	} 	
 | 
						|
  else
 | 
						|
  	// non ha la data di prossima donazione SI
 | 
						|
  	return FALSE;
 | 
						|
}
 | 
						|
 | 
						|
bool TStampaConvocazioni::preprocess_page(int file, int counter)
 | 
						|
{
 | 
						|
	switch (_tipo_stampa)
 | 
						|
	{
 | 
						|
		case elenco:
 | 
						|
		{
 | 
						|
			TRectype& recsog = current_cursor()->curr();
 | 
						|
			const TString16 codsez = recsog.get(SOG_CODSEZ);		
 | 
						|
			const TString16 codsot = recsog.get(SOG_CODSOT);		
 | 
						|
			TString80 nome = recsog.get(SOG_COGNOME);
 | 
						|
			nome << " ";
 | 
						|
			nome << recsog.get(SOG_NOME);
 | 
						|
			_cognome_nome = nome;
 | 
						|
			// salto pagina se cambio sezione
 | 
						|
			if ((_codsez!=codsez)||(_codsot!=codsot))
 | 
						|
			{
 | 
						|
				if (_codsez != "**")
 | 
						|
					printer().formfeed();
 | 
						|
				_codsez = codsez;
 | 
						|
				_codsot = codsot;
 | 
						|
				header_sezione(codsez, codsot);
 | 
						|
			}
 | 
						|
		}
 | 
						|
		break;
 | 
						|
	}
 | 
						|
	TRectype& recsog = current_cursor()->curr();
 | 
						|
	TString80 nome = recsog.get(SOG_COGNOME);
 | 
						|
	nome << " ";
 | 
						|
	nome << recsog.get(SOG_NOME);
 | 
						|
	_cognome_nome = nome;
 | 
						|
	_numconv = recsog.get_int(SOG_NUMCONV);
 | 
						|
	_numconv++;
 | 
						|
	if (_definitiva)
 | 
						|
	{
 | 
						|
		recsog.put(SOG_NUMCONV, _numconv);
 | 
						|
		if (_numconv > 4)
 | 
						|
			return FALSE;
 | 
						|
		else					
 | 
						|
		{
 | 
						|
	  	recsog.put(SOG_DATACONV,app()._dataconv);
 | 
						|
			current_cursor()->file().rewrite();
 | 
						|
		}			
 | 
						|
	}
 | 
						|
  return TRUE;
 | 
						|
}
 | 
						|
 | 
						|
void TStampaConvocazioni::filtra_sezioni()
 | 
						|
{
 | 
						|
 	const TString16 sezini = _msk->get(F_SEZINI);
 | 
						|
 	const TString16 sotini = _msk->get(F_SOTINI);
 | 
						|
 	const TString16 sezfin = _msk->get(F_SEZFIN);
 | 
						|
 	const TString16 sotfin = _msk->get(F_SOTFIN);
 | 
						|
  TRectype da(LF_SOGGETTI);
 | 
						|
  TRectype a(LF_SOGGETTI);   
 | 
						|
  if (sezini.not_empty())
 | 
						|
		da.put(SOG_CODSEZ, sezini);
 | 
						|
  if (sotini.not_empty())
 | 
						|
		da.put(SOG_CODSOT, sotini);
 | 
						|
  if (sezfin.not_empty())
 | 
						|
		a.put(SOG_CODSEZ, sezfin);
 | 
						|
  if (sotfin.not_empty())
 | 
						|
		a.put(SOG_CODSOT, sotfin);
 | 
						|
	current_cursor()->setregion(da, a);
 | 
						|
}	
 | 
						|
void TStampaConvocazioni::dati_sezione(const TString16 codsez, const TString16 codsot)
 | 
						|
{
 | 
						|
	_intest1 = current_cursor()->curr(LF_SEZIONI).get(SEZ_INTESTAZ1);
 | 
						|
	_intest2 = current_cursor()->curr(LF_SEZIONI).get(SEZ_INTESTAZ2);
 | 
						|
	_intest3 = current_cursor()->curr(LF_SEZIONI).get(SEZ_INTESTAZ3);
 | 
						|
	_intest4 = current_cursor()->curr(LF_SEZIONI).get(SEZ_INTESTAZ4);
 | 
						|
	if (_usasez)
 | 
						|
	{
 | 
						|
		if (_presso1.blank())
 | 
						|
		{
 | 
						|
			_presso1 = current_cursor()->curr(LF_SEZIONI).get(SEZ_CONVSEDE1);
 | 
						|
			_presso2 = current_cursor()->curr(LF_SEZIONI).get(SEZ_CONVSEDE2);
 | 
						|
			_presso3 = current_cursor()->curr(LF_SEZIONI).get(SEZ_CONVSEDE3);
 | 
						|
			_presso4 = current_cursor()->curr(LF_SEZIONI).get(SEZ_CONVSEDE4);
 | 
						|
		}			
 | 
						|
		if (_orario.blank())
 | 
						|
			_orario = current_cursor()->curr(LF_SEZIONI).get(SEZ_CONVORA);
 | 
						|
		if (_note.blank())
 | 
						|
			_note = current_cursor()->curr(LF_SEZIONI).get(SEZ_CONVNOTE);
 | 
						|
	}
 | 
						|
	return;
 | 
						|
}
 | 
						|
 | 
						|
bool TStampaConvocazioni::set_print(int)
 | 
						|
{           
 | 
						|
	_tipo_stampa = undefined;
 | 
						|
  KEY tasto;
 | 
						|
  tasto = _msk->run();
 | 
						|
	switch (tasto)               
 | 
						|
	{
 | 
						|
		case F_ELENCO:
 | 
						|
			_tipo_stampa = elenco;
 | 
						|
			break;		
 | 
						|
		case F_ETICHETTE:
 | 
						|
			_tipo_stampa = etichette;
 | 
						|
			break;
 | 
						|
		case F_CARTOLINE:
 | 
						|
			_tipo_stampa = dati_cartoline();
 | 
						|
			break;			
 | 
						|
	}
 | 
						|
  if (_tipo_stampa != undefined)
 | 
						|
  {
 | 
						|
		_codsez = "**";
 | 
						|
  	_codsot = "**";
 | 
						|
		reset_files(); 
 | 
						|
    add_file(LF_SOGGETTI);
 | 
						|
		_dataconv = _msk->get(F_DATACONV);
 | 
						|
		_intmin = _msk->get_int(F_INTMIN);
 | 
						|
		_intmax = _msk->get_int(F_INTMAX);
 | 
						|
		_definitiva = _msk->get_bool(F_DEFINITIVA);
 | 
						|
    // filtro per sezioni selezionati
 | 
						|
	  filtra_sezioni();
 | 
						|
		// filtro su non esclusi, idonei e categorie non dimessi
 | 
						|
		// questo filtro non funziona perchè non funziona il riconoscimento dell'alias 
 | 
						|
		// nelle espressioni; sarebbe molto bello averlo a disposizione!
 | 
						|
		//current_cursor()->setfilter("((ESCLUSO == \"\") && (-100->B0!=\"X\") && ((-200->S6 == \"I\") || (-200->S6 == \"F\")))", TRUE);
 | 
						|
		// filtro su non esclusi
 | 
						|
		current_cursor()->setfilter("(ESCLUSO == \"\")", TRUE);
 | 
						|
   	// filtro su data e altri filtri che non posso mettere nella setfilter
 | 
						|
    current_cursor()->set_filterfunction (filter_func_conv, TRUE);
 | 
						|
    reset_print();
 | 
						|
    crea_intestazione();
 | 
						|
    return TRUE;
 | 
						|
  }
 | 
						|
  else
 | 
						|
    return FALSE;
 | 
						|
}
 | 
						|
 | 
						|
void TStampaConvocazioni::crea_intestazione()
 | 
						|
{
 | 
						|
  reset_header();
 | 
						|
  if (_tipo_stampa == elenco)
 | 
						|
  {
 | 
						|
  	TString sep(132);
 | 
						|
  	sep = "CONVOCAZIONI PER SEZIONE fatte il ";
 | 
						|
 		sep << _dataconv.string();
 | 
						|
		sep.center_just();
 | 
						|
  	set_header(2, "@0g%s", (const char*) sep);
 | 
						|
  	TString16 data_stampa = _data_stampa.string();
 | 
						|
  	set_header(2,"@0g%10s", (const char*) data_stampa);
 | 
						|
  	sep = "";
 | 
						|
  	sep << "Pag. @#";
 | 
						|
  	set_header(2, "@120g%s", (const char*) sep);  
 | 
						|
  	sep = "";
 | 
						|
  	sep.fill('-');
 | 
						|
  	set_header(3, (const char *) sep);
 | 
						|
	  set_header(5,"@0gCod.CL@7gNC@11gCognome e nome@37gNato il@48gGr.@52gRh@55gKell@60gFen.Rh@67gDu@71gUltima donaz.@85gData pros.");
 | 
						|
	  set_header(6,"@0gTess.@37gCat.don@71gUltima idon.@85gInt.SI");  
 | 
						|
	  set_header(7,"@0g------@7g---@11g-------------------------@37g----------@48g--- --- --- ------ --@71g---------- --@85g---------- --@83g----------");
 | 
						|
	}	  
 | 
						|
}
 | 
						|
 | 
						|
bool TStampaConvocazioni::user_create()
 | 
						|
{
 | 
						|
  _rel = new TRelation(LF_SOGGETTI);
 | 
						|
  _rel->add("TCS", "CODTAB==STATO",    1, 0, ALIAS_TABTCS);	// per verificare che sia IDONEO
 | 
						|
  _rel->add("CTD", "CODTAB==CATDON",   1, 0, ALIAS_TABCTD);		// per verificare che sia DONATORE NON DIMESSO
 | 
						|
  _rel->add("LCP", "CODTAB==DOM_CODLOC", 1, 0, ALIAS_TABLCP);		// per verificare che sia DONATORE NON DIMESSO
 | 
						|
  _rel->add(LF_COMUNI, "COM==DOM_CODCOM");
 | 
						|
  _rel->add(LF_SEZIONI, "CODSEZ==CODSEZ|CODSOT==CODSOT");
 | 
						|
	// ordinamento per sezione+sottogruppo+cognome+nome  
 | 
						|
  _cur = add_cursor(new TCursor(_rel, "", 3));
 | 
						|
  _msk = new TMask("at4300a");
 | 
						|
  _form_eti = new TConv_form("AT_ETSOG");	
 | 
						|
  _form_car = new TConv_form("AT_CARTO");	
 | 
						|
  return TRUE;
 | 
						|
}
 | 
						|
 | 
						|
bool TStampaConvocazioni::user_destroy()
 | 
						|
{
 | 
						|
  delete _msk;
 | 
						|
  delete _rel;
 | 
						|
  delete _form_eti;
 | 
						|
  delete _form_car;
 | 
						|
  return TRUE;
 | 
						|
}
 | 
						|
 | 
						|
int at4300(int argc, char* argv[])
 | 
						|
{
 | 
						|
  TStampaConvocazioni a;
 | 
						|
  a.run(argc, argv, "Convocazioni per sezione");
 | 
						|
  return 0;
 | 
						|
}
 |