diff --git a/src/cg/cg1300n.h b/src/cg/cg1300n.h index aedf1074c..18779aac6 100644 --- a/src/cg/cg1300n.h +++ b/src/cg/cg1300n.h @@ -1,2 +1,4 @@ #define F_CODDITTA 201 #define F_RAGSOC 202 +#define F_UPDCAUS 203 +#define F_UPDMOV 204 diff --git a/src/cg/cg1300n.uml b/src/cg/cg1300n.uml index 3bed13f49..3f71d6f9c 100644 --- a/src/cg/cg1300n.uml +++ b/src/cg/cg1300n.uml @@ -38,6 +38,16 @@ BEGIN FLAGS "D" END +BOOLEAN F_UPDCAUS +BEGIN + PROMPT 2 6 "Aggiorno le causali" +END + +BOOLEAN F_UPDMOV +BEGIN + PROMPT 2 8 "Aggiorno i movimenti" +END + ENDPAGE ENDMASK \ No newline at end of file diff --git a/src/cg/cg1314.cpp b/src/cg/cg1314.cpp index 354fdaff0..80348937c 100644 --- a/src/cg/cg1314.cpp +++ b/src/cg/cg1314.cpp @@ -146,6 +146,8 @@ void TAgg_tcontoCF::main_loop() log.log(0, ""); } set_firm(ditta); + // Salvo a che versione di aggiornamenti sono per il TF + ini_set_int(CONFIG_DITTA, "cg", "atccf", 1); } else { @@ -156,9 +158,6 @@ void TAgg_tcontoCF::main_loop() // Aggiorno i movimenti: CONTABILITA' update_movimenti(pcon, log); update_movimenti_IVA(pcon, log); - - // Salvo a che versione di aggiornamenti sono per il TF - ini_set_int(CONFIG_DITTA, "cg", "atccf", 1); } } log.print_or_preview();