Patch level :

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :


git-svn-id: svn://10.65.10.50/trunk@19152 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca83 2009-07-28 08:07:39 +00:00
parent 6246c412bb
commit 905a77e549

View File

@ -320,6 +320,14 @@ void TAcquisizione_lavanderie_app::elabora_file(const TString& file, bool new_fi
new_file = false;
}
TFilename fnameini(file);
TFilename fnamefin = fnameini.path();
fnamefin << "output_sav.dat";
fcopy(fnameini, fnamefin);
bool cazzone = fnameini.fremove();
if (ca.empty())
{
warning_box(TR("ATTENZIONE: il file importato non ha generato nessun documento; controllare che il tracciato record sia coerente"));
@ -361,7 +369,7 @@ bool TAcquisizione_lavanderie_app::transfer()
TString_array lista_file;
list_files(file, lista_file);
FOR_EACH_ARRAY_ROW(lista_file, r2, row2)
FOR_EACH_ARRAY_ROW(lista_file, r2, row2)
elabora_file(*row2, true);
}
else