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:
parent
9d0a05b6c2
commit
772f1c10ed
@ -1462,10 +1462,10 @@ bool TPagamento::read(TTable* t, TTable* r)
|
|||||||
t = new TTable("%CPG");
|
t = new TTable("%CPG");
|
||||||
istnew = TRUE;
|
istnew = TRUE;
|
||||||
}
|
}
|
||||||
|
_rate.destroy();
|
||||||
t->zero(); t->put("CODTAB", _code);
|
t->zero(); t->put("CODTAB", _code);
|
||||||
if (t->read() != NOERR) return FALSE;
|
if (t->read() != NOERR) return FALSE;
|
||||||
|
|
||||||
_rate.destroy();
|
|
||||||
|
|
||||||
// set everything
|
// set everything
|
||||||
_rdiff = t->get_bool("B1");
|
_rdiff = t->get_bool("B1");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user