Patch level : 10.0 894
Files correlati : cg2.exe Ricompilazione Demo : [ ] Commento : Nei pagamenti la nuova partita propone ora l'anno della data di registrazione (CHIMA) git-svn-id: svn://10.65.10.50/branches/R_10_00@21485 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
1c6184d03e
commit
9e794a712a
@ -15,7 +15,7 @@ END
|
|||||||
NUMBER P_ANNO 4
|
NUMBER P_ANNO 4
|
||||||
BEGIN
|
BEGIN
|
||||||
PROMPT 24 1 "Anno "
|
PROMPT 24 1 "Anno "
|
||||||
FLAGS "A"
|
// FLAGS "A"
|
||||||
CHECKTYPE REQUIRED
|
CHECKTYPE REQUIRED
|
||||||
WARNING "Inserire l'anno di riferimento partita"
|
WARNING "Inserire l'anno di riferimento partita"
|
||||||
END
|
END
|
||||||
|
@ -617,12 +617,11 @@ void TNew_mask::init(char tipocf, bool fatt, bool edit)
|
|||||||
#else
|
#else
|
||||||
tipomov.disable();
|
tipomov.disable();
|
||||||
TMask& cm = app().curr_mask();
|
TMask& cm = app().curr_mask();
|
||||||
if (ini_get_bool(CONFIG_DITTA, "cg", "RifMonth"))
|
const TDate datareg = cm.get_date(F_DATAREG);
|
||||||
{
|
|
||||||
const TDate datareg = cm.get_date(F_DATAREG);
|
|
||||||
|
|
||||||
|
set(P_ANNO, datareg.year());
|
||||||
|
if (ini_get_bool(CONFIG_DITTA, "cg", "RifMonth"))
|
||||||
set(P_NUMERO, format("%02d", datareg.month()));
|
set(P_NUMERO, format("%02d", datareg.month()));
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
enable(P_ANNO, edit);
|
enable(P_ANNO, edit);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user