From b90dea37b6a89937a633c7ad2fc3677763139242 Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 19 Oct 1994 09:31:27 +0000 Subject: [PATCH] Corretto errore 0270 git-svn-id: svn://10.65.10.50/trunk@397 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- cg/cg3200.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/cg/cg3200.cpp b/cg/cg3200.cpp index 20abddaf2..ed81b2503 100755 --- a/cg/cg3200.cpp +++ b/cg/cg3200.cpp @@ -1122,7 +1122,10 @@ void CG3200_application::crea_intestazione() sep.fill('-'); //Stampa 132 - (sep(132)) set_header (6, (const char *) sep); set_header (7,"Operazione@19gDocumento@117gContro"); - set_header (8,"Data@11gnumero@19gData@30gNumero@38gCod.Causale@61gDescrizione@90gDare@106gAvere@117gPartita"); + set_header (8,"Data"); + if (_stampanum < 3) + set_header (8,"@11gnumero"); + set_header (8,"@19gData@30gNumero@38gCod.Causale@61gDescrizione@90gDare@106gAvere@117gPartita"); sep.fill('-'); set_header (9, (const char *) sep); } @@ -1131,7 +1134,10 @@ void CG3200_application::crea_intestazione() sep1.fill('-'); //Stampa 198 - (sep1(198)) set_header (6,"@1g%s", (const char *) sep1); set_header (7,"Operazione@19gData@30gNumero@172gContro@185gReg@193gNumero"); - set_header (8,"Data@11gnumero@19gDocumento@38gCod.Causale@68gDescrizione@108gDare@124gAvere@136gSaldo progress.@154gSaldo movim.@172gPartita@185gIva@189gProtocollo"); + set_header (8,"Data"); + if (_stampanum < 3) + set_header (8,"@11gnumero"); + set_header (8,"@19gDocumento@38gCod.Causale@68gDescrizione@108gDare@124gAvere@136gSaldo progress.@154gSaldo movim.@172gPartita@185gIva@189gProtocollo"); sep1.fill('-'); set_header (9,"@1g%s", (const char *) sep1); }