From 2945bd997efb7d37aaf1940cb624ed39510b0374 Mon Sep 17 00:00:00 2001 From: angelo Date: Tue, 30 Jul 1996 11:03:50 +0000 Subject: [PATCH] Correzione errore MI4246. Tolta la stampa degli estremi ditta. git-svn-id: svn://10.65.10.50/trunk@3287 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- ba/ba3a00.cpp | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/ba/ba3a00.cpp b/ba/ba3a00.cpp index ef28d672c..37ce7651a 100755 --- a/ba/ba3a00.cpp +++ b/ba/ba3a00.cpp @@ -88,29 +88,14 @@ void Stampa_condizioni_pagamento_application::print_header() const long firm = get_firm(); reset_header (); - TLocalisamfile ditte(LF_NDITTE); - ditte.zero(); - ditte.put(NDT_CODDITTA, firm); - ditte.read(); - if (ditte.bad()) ditte.zero(); - TString s; - TString256 rw; - TString NomeTabella("CONDIZIONI DI PAGAMENTO"); - s = ditte.get(NDT_RAGSOC); - - rw.spaces(131); - rw.overwrite(format("Ditta %4ld %s", firm,(const char *)s)); - rw.overwrite ("Data @< Pag. @#", rw.len()-22); - set_header (soh++, "%s", (const char *)rw); - NomeTabella.left_just (132); set_header (soh++, ""); - set_header (soh++, "@b%s", (const char *)NomeTabella); + set_header (soh++, "@bCONDIZIONI DI PAGAMENTO @r@109gData @< Pag. @#"); set_header (soh++, ""); set_header (soh++, "@47gTp @53gInizio @66gMese @73gGiorni@89gIntervallo@108gScadenze"); set_header (soh++, "Cod. @12gDescrizione @47gdoc.@53gcalcolo@66gcomm. @73gsc. fissa@92grate@103gNr. gg. %% Td. ult. cl."); set_header(soh,""); - set_background(format("W2l{1,4,132,4}l{1,%d,132,%d}", soh, soh)); + set_background(format("W2l{1,3,132,3}l{1,%d,132,%d}", soh, soh)); } void Stampa_condizioni_pagamento_application::set_page_cpg()