Correzione errore MI4246. Tolta la stampa degli estremi ditta.

git-svn-id: svn://10.65.10.50/trunk@3287 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
angelo 1996-07-30 11:03:50 +00:00
parent 49de296d5e
commit 2945bd997e

View File

@ -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()