Patch level :10.0

Files correlati     :lv2.exe
Ricompilazione Demo : [ ]
Commento            :correzzione acquisizione contapezzi


git-svn-id: svn://10.65.10.50/trunk@19187 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
rajitgill 2009-08-05 16:01:40 +00:00
parent e9f1b2bb2b
commit 614165308b

View File

@ -276,13 +276,13 @@ void TAcquisizione_lavanderie_app::elabora_file(const TString& file, bool new_fi
} }
} }
const long n_doc = doc.get_long(DOC_NDOC); // const long n_doc = doc.get_long(DOC_NDOC);
if (!doc.get_date("DATAPRCO").ok()) if (!doc.get_date("DATAPRCO").ok())
{ {
TString msg; TString msg;
msg << TR("Il documento ") msg << TR("Il documento ")
<< n_doc << ndoc
<< TR(" del ") << TR(" del ")
<< datadoc << datadoc
<< TR(" non ha data di prevista consegna,") << TR(" non ha data di prevista consegna,")
@ -399,7 +399,7 @@ bool TAcquisizione_lavanderie_app::transfer()
TReport_book buc; TReport_book buc;
buc.add(logrep); buc.add(logrep);
logrep.kill_duplicates(); logrep.kill_duplicates(true);
if (buc.pages() > 0) if (buc.pages() > 0)
buc.preview(); buc.preview();
else else