diff --git a/cg/cg4304.cpp b/cg/cg4304.cpp index 977301400..d383490ae 100755 --- a/cg/cg4304.cpp +++ b/cg/cg4304.cpp @@ -1375,7 +1375,7 @@ void TLiquidazione_app::set_grand(_DescrItem& d) set_bookmark("Riepilogo versamenti", _firm_bookmark); TString dt = di._d0.string(); - TString vr = di._r0.string("."); + TString vr = di._r0.string("###.###.###.###"); set_row(rw++, "Versamento di L. %s effettuato il %s@68gdiretto all'ufficio IVA di %s", (const char*)vr, diff --git a/cg/cg5500.cpp b/cg/cg5500.cpp index 5aedf174c..f4c9ba26a 100755 --- a/cg/cg5500.cpp +++ b/cg/cg5500.cpp @@ -1162,7 +1162,7 @@ void Visliq_app::write_general(TMask& m) real nrimb(tt_ln.get(3)); real overs(tt_vo.get(5)); real nvers(tt_vn.get(5)); - TDate odate(tt_vn.get(1)); + TDate odate(tt_vo.get(1)); TDate ndate(tt_vn.get(1)); TString odbcr(tt_lo.get(5)); TString ndbcr(tt_ln.get(5)); @@ -1181,7 +1181,7 @@ void Visliq_app::write_general(TMask& m) TToken_string& vn = sv.row(_freqviva == "M" ? 11 : 3); real oacct (vo.get(5)); real nacct (vn.get(5)); - TDate aodate(vn.get(1)); + TDate aodate(vo.get(1)); TDate andate(vn.get(1)); TString aoabi (vo.get(2)); TString anabi (vn.get(2));