Patch level : 10.0 no patch
Files correlati : Ricompilazione Demo : [ ] Commento : trasferimento galileo (gallo) git-svn-id: svn://10.65.10.50/trunk@19830 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
ac6c6321ae
commit
420f004af4
@ -279,7 +279,7 @@ void TImporta_mov::transfer(const TFilename& file)
|
|||||||
|
|
||||||
if (anno != a || reg != r || dataop != d || n != nmov )
|
if (anno != a || reg != r || dataop != d || n != nmov )
|
||||||
{
|
{
|
||||||
if (iva)
|
if (iva && conf != NULL)
|
||||||
build_IVA(*conf, rows, concg, impcg);
|
build_IVA(*conf, rows, concg, impcg);
|
||||||
anno = a;
|
anno = a;
|
||||||
reg = r;
|
reg = r;
|
||||||
@ -289,9 +289,6 @@ void TImporta_mov::transfer(const TFilename& file)
|
|||||||
if (conf != NULL)
|
if (conf != NULL)
|
||||||
delete conf;
|
delete conf;
|
||||||
conf = NULL;
|
conf = NULL;
|
||||||
}
|
|
||||||
if (conf == NULL)
|
|
||||||
{
|
|
||||||
TFilename temp(outdir);
|
TFilename temp(outdir);
|
||||||
|
|
||||||
temp << '/' << format("%05ld", ntran++);
|
temp << '/' << format("%05ld", ntran++);
|
||||||
@ -443,14 +440,17 @@ void TImporta_mov::transfer(const TFilename& file)
|
|||||||
rows.add(rec);
|
rows.add(rec);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (conf != NULL)
|
||||||
delete conf;
|
delete conf;
|
||||||
|
|
||||||
|
if (yesno_box(FR("Si desidera confermare l'importazione di %ld movimenti"), ntran -1))
|
||||||
|
{
|
||||||
TString app;
|
TString app;
|
||||||
|
|
||||||
/* app << "cg2 -0 -i" << outdir;
|
app << "cg2 -0 -i" << outdir << "/*.ini";
|
||||||
TExternal_app primanota(app);
|
TExternal_app primanota(app);
|
||||||
primanota.run();
|
primanota.run(true);
|
||||||
message_box(TR("Importazione movimenti completata")); */
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user