diff --git a/tc/IMPPN.v2008.0.7.doc b/tc/IMPPN.v2008.0.7.doc index 275140430..cfbb88f83 100755 Binary files a/tc/IMPPN.v2008.0.7.doc and b/tc/IMPPN.v2008.0.7.doc differ diff --git a/tc/tc0701.cpp b/tc/tc0701.cpp index 68424a70f..e40ac1759 100755 --- a/tc/tc0701.cpp +++ b/tc/tc0701.cpp @@ -85,7 +85,6 @@ const long TSbill2ricl(char & t, int gr, int co, long so) return codricl; } - TTS_sender& app() { return (TTS_sender&)main_app(); } /////////////////////////////////////////////////////////// @@ -1094,7 +1093,7 @@ void TTS_sender::add_header(const TRecordset& mov, const bool fullhesd) set("TRF-DATA-DOC", datadoc.string(full, '\0')); TString numdoc(mov.get(MOV_NUMDOC).as_string()); - TString16 codice = moviva ? scod2ricl("TSREG", mov.get(MOV_REG)) : EMPTY_STRING; + TString16 codice = moviva ? scod2ricl("TSREG", mov.get(MOV_REG)) : "000"; numdoc.left(6); if (numdoc.full())