From ed0b58ccfe990a52c6e12f407b8e830f8eb7d1ed Mon Sep 17 00:00:00 2001 From: guy Date: Mon, 29 Jan 1996 10:18:18 +0000 Subject: [PATCH] cg2105.cpp Corretto #define __EXTRA__ per extra contabile pagament.cpp Aggiunta set_inizio alla fine di set_numero_rate git-svn-id: svn://10.65.10.50/trunk@2513 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- cg/cg2105.cpp | 2 +- cg/pagament.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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;