Merge branch 'R12.00.1244' of http://10.65.20.33/sirio/CAMPO/campo into R12.00.1244

This commit is contained in:
New_Macchina_Compilatrice 2023-07-05 14:29:32 +02:00
commit c829a7b03b

View File

@ -310,6 +310,7 @@ bool TConta_pulito_msk::on_field_event(TOperable_field& f,TField_event e,long jo
str << "ve1 -2 " << codnum << ' ' << anno << ' ' << provv << ' ' << dandoc << '-' << andoc << " S D"; str << "ve1 -2 " << codnum << ' ' << anno << ' ' << provv << ' ' << dandoc << '-' << andoc << " S D";
TExternal_app stampa(str); TExternal_app stampa(str);
stampa.run(); stampa.run();
} }
if (_auto != "A") if (_auto != "A")
@ -326,6 +327,7 @@ bool TConta_pulito_msk::on_field_event(TOperable_field& f,TField_event e,long jo
if(e == fe_button) if(e == fe_button)
{ {
TAssoc_array movimenti; TAssoc_array movimenti;
prepara_movimenti(file, movimenti, logrep); prepara_movimenti(file, movimenti, logrep);
if (movimenti.items() > 0) if (movimenti.items() > 0)
{ {
@ -965,6 +967,8 @@ TConta_pulito_msk::TConta_pulito_msk():TAutomask("lv2900a")
_giri = ""; _giri = "";
_print = ""; _print = "";
} }
if (_auto == "A")
batch();
TString80 f = file.name_only(); TString80 f = file.name_only();
f << ".dat"; f << ".dat";
@ -1000,7 +1004,7 @@ bool TConta_pulito_app::create()
{ {
if (xvt_vobj_get_attr(NULL_WIN, ATTR_APPL_ALREADY_RUNNING)) if (xvt_vobj_get_attr(NULL_WIN, ATTR_APPL_ALREADY_RUNNING))
{ {
xvt_dm_popup_error(TR("L'elaborazione pulito è già in esecuzione!")); error_box(TR("L'elaborazione pulito è già in esecuzione!"));
return false; return false;
} }