diff --git a/cg/cg2105.cpp b/cg/cg2105.cpp index e522d7f54..d2bf68c7c 100755 --- a/cg/cg2105.cpp +++ b/cg/cg2105.cpp @@ -882,7 +882,7 @@ char TGame_mask::calcola_sezione() const { char sezione = ' '; -#ifndef __EXTRA +#ifndef __EXTRA__ const TCausale& causale = app().causale(); const tipo_movimento tm = (tipo_movimento)causale.tipomov(); const char tipoc = conto().tipo(); diff --git a/cg/pagament.cpp b/cg/pagament.cpp index 5a99a0864..ab65abf4e 100755 --- a/cg/pagament.cpp +++ b/cg/pagament.cpp @@ -341,6 +341,8 @@ void TPagamento::set_numero_rate(int n, int sscad, int rdiff) } // erase remaining remove_rate_from(i); + + set_inizio(_datadoc); adjust_fixed_scad(); _dirty = TRUE;