diff --git a/src/cg/cg4301.cpp b/src/cg/cg4301.cpp index a7b083615..fa7d04b18 100755 --- a/src/cg/cg4301.cpp +++ b/src/cg/cg4301.cpp @@ -1089,8 +1089,9 @@ void TLiquidazione_app::recalc_att(int month, const char* codatt, TAssoc_array & data_rif_cassa.set_end_month(); todate.set_end_month(); fine.set_end_month(); - - from.put(MOV_REG, fromreg); + if (year_int >= 2017 && month == 13) + t = todate; + from.put(MOV_REG, fromreg); to.put(MOV_REG, toreg); _cur->freeze(false); @@ -1156,7 +1157,7 @@ void TLiquidazione_app::recalc_att(int month, const char* codatt, TAssoc_array & #ifdef DBG long nr = _mov->get_long(MOV_NUMREG); - if (nr == 25722 || nr == 27710) + if (nr == 18489 || nr == 27710) int i = 1; #endif