From 44521cb9b700a8daa74be03ba246af207f92b8eb Mon Sep 17 00:00:00 2001 From: bonazzi Date: Thu, 26 Apr 2018 14:39:52 +0000 Subject: [PATCH] Patch level : 12.0 566 Files correlati : cg4.exe cg5300a.uml Modificata la liquidazione delle fatture in ritardo git-svn-id: svn://10.65.10.50/branches/R_10_00@24486 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- src/cg/cg4301.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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