Patch level : 10.0 886
Files correlati : cg2.exe Ricompilazione Demo : [ ] Commento : Nella maschera nuovo pag/incasso inpostato il mese come numero partita se il Parametro RifMonth e impostrato X nel parametri ditta (CHIMA) git-svn-id: svn://10.65.10.50/branches/R_10_00@21447 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
5e76c6f56e
commit
41cea9933a
@ -14,6 +14,7 @@
|
||||
#include <defmask.h> // Serve per DLG_DELREC
|
||||
#include <msksheet.h>
|
||||
#include <relation.h>
|
||||
#include <utility.h>
|
||||
|
||||
#include <causali.h> // Archivio causali
|
||||
|
||||
@ -615,6 +616,13 @@ void TNew_mask::init(char tipocf, bool fatt, bool edit)
|
||||
reset(P_NUMERO);
|
||||
#else
|
||||
tipomov.disable();
|
||||
TMask& cm = app().curr_mask();
|
||||
if (ini_get_bool(CONFIG_DITTA, "cg", "RifMonth"))
|
||||
{
|
||||
const TDate datareg = cm.get_date(F_DATAREG);
|
||||
|
||||
set(P_NUMERO, format("%02d", datareg.month()));
|
||||
}
|
||||
#endif
|
||||
|
||||
enable(P_ANNO, edit);
|
||||
|
Loading…
x
Reference in New Issue
Block a user