Oh Gesu'. Ho corretto l'errore che faceva BERE IL CERVELLO ALLA

LIQUIDAZIONE. Mamma cara. Speriamo di non continuare like that.


git-svn-id: svn://10.65.10.50/trunk@3137 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
angelo 1996-07-02 17:00:20 +00:00
parent 3de4e33b26
commit 40dc9b80a7

View File

@ -579,7 +579,7 @@ bool TLiquidazione_app::fr_ditt_handler(TMask_field& f, KEY key)
bool TLiquidazione_app::what_freq_handler(TMask_field& f, KEY key) bool TLiquidazione_app::what_freq_handler(TMask_field& f, KEY key)
{ {
if (key == K_SPACE && f.dirty()) if (key == K_SPACE)
{ {
if (f.get()[0] == '3') // trimestre intelligente if (f.get()[0] == '3') // trimestre intelligente
{ {
@ -660,6 +660,7 @@ bool TLiquidazione_app::set_liquidazione()
m.set_handler(CG43_RDB_VERS, what_freq_handler); m.set_handler(CG43_RDB_VERS, what_freq_handler);
m.set_handler(CG43_FLD_ANNO, ch_year_handler); m.set_handler(CG43_FLD_ANNO, ch_year_handler);
m.field(CG43_FLD_SELECTED).set(format("%ld",_selected.ones())); m.field(CG43_FLD_SELECTED).set(format("%ld",_selected.ones()));
m.field(CG43_FLD_ANNO).set(_year); m.field(CG43_FLD_ANNO).set(_year);
set_choice_limits(m); set_choice_limits(m);