diff --git a/at/at2500.cpp b/at/at2500.cpp index 260aab866..0045403b5 100755 --- a/at/at2500.cpp +++ b/at/at2500.cpp @@ -120,15 +120,23 @@ void TStampaIdonei::set_page(int file, int cnt) case elenco: { set_row(1,"@0g@pn", FLD(LF_SOGGETTI,SOG_CODICE,"########")); + set_row(2,"@0g@8,rs", FLD(LF_SOGGETTI,SOG_TESSAVIS)); set_row(1,"@9g@S", FLD(LF_SOGGETTI,SOG_CATDON)); set_row(1,"@12g#a", &_cognome_nome); set_row(1,"@38g@ld", FLD(LF_SOGGETTI,SOG_DATANASC)); - set_row(1,"@49g@ld", FLD(LF_SOGGETTI,SOG_DATAULTID)); // potremmo mettere anche datastato + set_row(2,"@38g@S", FLD(LF_SOGGETTI,SOG_GRUPPOAB0)); + set_row(2,"@45g@S", FLD(LF_SOGGETTI,SOG_RHANTID)); + set_row(1,"@49g@ld", FLD(LF_SOGGETTI,SOG_DATASTATO)); // potremmo mettere anche datastato set_row(1,"@60g@S", FLD(LF_SOGGETTI,SOG_IDON1)); set_row(1,"@63g@S", FLD(LF_SOGGETTI,SOG_IDON2)); - set_row(1,"@66g@S", FLD(LF_SOGGETTI,SOG_IDON3)); - set_row(1,"@69g@S", FLD(LF_SOGGETTI,SOG_IDON4)); + set_row(2,"@60g@S", FLD(LF_SOGGETTI,SOG_IDON3)); + set_row(2,"@63g@S", FLD(LF_SOGGETTI,SOG_IDON4)); set_row(2,"@52g@S", FLD(LF_SOGGETTI,SOG_STATO)); + set_row(1,"@66g@pn", FLD(LF_SOGGETTI,SOG_INTSI,"###")); + set_row(2,"@66g@pn", FLD(LF_SOGGETTI,SOG_INTAF,"###")); + set_row(1,"@70g@ld", FLD(LF_SOGGETTI,SOG_DATAULTDON)); + set_row(2,"@73g@S", FLD(LF_SOGGETTI,SOG_TIPOULTDON)); + set_row(3,""); } break; } @@ -216,7 +224,7 @@ void TStampaIdonei::header_sezione(const TString16 codsez, const TString16 codso { 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); + TString intestazione(80); intestazione = "Sezione: "; intestazione << codsez; intestazione << "/"; @@ -304,7 +312,7 @@ void TStampaIdonei::crea_intestazione() reset_header(); if (_tipostampa == elenco) { - TString sep(132); + TString sep(80); sep = "ELENCO IDONEI"; if ((_tipoidon.ok()) && (_tipoidon.not_empty())) { @@ -340,13 +348,13 @@ void TStampaIdonei::crea_intestazione() set_header(2,"@0g%10s", (const char*) data_stampa); sep = ""; sep << "Pag. @#"; - set_header(2, "@120g%s", (const char*) sep); + set_header(2, "@70g%s", (const char*) sep); sep = ""; sep.fill('-'); set_header(3, (const char *) sep); - set_header(4,"@0gCodice@9gC.@12gCognome e nome@38gNato il@49gData ID@60gTipi idon."); - set_header(5,"@49gTipo/Esito"); - set_header(6,"@0g--------@9g--@12g-------------------------@38g----------@49g----------@60g-- -- -- --"); + set_header(4,"@0gCodice@9gC.@12gCognome e nome@38gNato il@49gData stato@60gIdon.@66g SI@70gUltima don."); + set_header(5,"@0gTessera@38gGruppo Rh@49g Stato@66g AF"); + set_header(6,"@0g--------@9g--@12g-------------------------@38g----------@49g----------@60g-- --@66g---@70g----------"); } }