diff --git a/ba/ba2100.cpp b/ba/ba2100.cpp index 7636c7bbc..a4f66986d 100755 --- a/ba/ba2100.cpp +++ b/ba/ba2100.cpp @@ -55,7 +55,7 @@ bool TForm_editor::create() if (form == NULL) form = argv(a); - else + else if (code == 0) code = atol(argv(a)); } @@ -84,9 +84,9 @@ bool TForm_editor::create() KEY k; while ((k = m.run()) != K_ESC) { - TString fform = m.get(F_BASE); - TString fdesc = m.get(F_DESC); - long fcode = m.get_long(F_CODE); + TString16 fform = m.get(F_BASE); + TString80 fdesc = m.get(F_DESC); + long fcode = m.get_long(F_CODE); if (k == K_ENTER) { @@ -96,8 +96,7 @@ bool TForm_editor::create() } else if (k == K_DEL) { - if (yesno_box("Confermare la cancellazione del " - "profilo %05ld", fcode)) + if (yesno_box("Confermare la cancellazione del profilo %05ld", fcode)) { TLocalisamfile frm(LF_FORM); frm.zero(); @@ -111,8 +110,7 @@ bool TForm_editor::create() rfr.put("CODPROF", fcode); if (rfr.read() == NOERR) { - for (; rfr.get_long("CODPROF") == fcode && rfr.get("TIPOPROF") - == fform; rfr.next()) + for ( ; rfr.get_long("CODPROF") == fcode && rfr.get("TIPOPROF") == fform; rfr.next()) rfr.remove(); } m.set(F_CODE,""); diff --git a/ba/prassi.mnu b/ba/prassi.mnu index cb2aeabc3..5a8fcc528 100755 --- a/ba/prassi.mnu +++ b/ba/prassi.mnu @@ -140,6 +140,7 @@ 15|Utenti|ba1 -3 15|Attivazione|ba1 -4 15|Backup|ba2 -1 +15|Servizio|22 16|Servizio| 16|Copia Archivi|cg4 -1 16|Ripristino stampa registri|cg5 -4 @@ -182,3 +183,5 @@ 21|Apertura nuovo esercizio|cg4 -4 C 21|Apertura nuovo esercizio IVA|cg4 -4 I 21|Chiusura/Apertura conti|cg4 -5 +22|Servizio +22|Parametrizzazione deleghe|ba2 -0 -E