sc0100.cpp Aggiunto test iniziale di attivazione del saldaconto
git-svn-id: svn://10.65.10.50/trunk@3987 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
29d9bff0d9
commit
364e3b63f6
@ -43,6 +43,15 @@ bool TSaldaconto_app::create()
|
||||
|
||||
_msk = new TMask("sc0100a");
|
||||
_msk->set_handler(F_GRUPPO, gruppo_handler);
|
||||
|
||||
TConfig cnf(CONFIG_DITTA, "cg");
|
||||
const bool ges_sal = cnf.get_bool("GesSal");
|
||||
if (!ges_sal)
|
||||
{
|
||||
warning_box("Attenzione: La ditta %ld non ha la\n"
|
||||
"la gestione del saldaconto attivata!", get_firm());
|
||||
}
|
||||
|
||||
|
||||
dispatch_e_menu(MENU_ITEM(1));
|
||||
return TRUE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user