Spostata la distruzione delle rate.

git-svn-id: svn://10.65.10.50/trunk@5245 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
angelo 1997-09-22 07:12:00 +00:00
parent 9d0a05b6c2
commit 772f1c10ed

View File

@ -1462,10 +1462,10 @@ bool TPagamento::read(TTable* t, TTable* r)
t = new TTable("%CPG");
istnew = TRUE;
}
_rate.destroy();
t->zero(); t->put("CODTAB", _code);
if (t->read() != NOERR) return FALSE;
_rate.destroy();
// set everything
_rdiff = t->get_bool("B1");