Sistemato errore MI0053 liquidazione (calcolo rimborso infraannuale)

git-svn-id: svn://10.65.10.50/trunk@515 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
villa 1994-11-03 10:52:15 +00:00
parent 34f0c931ef
commit f4b7533179
9 changed files with 465 additions and 465 deletions

View File

@ -22,7 +22,7 @@
#define F_MODULO 121
#define F_STAMPAMPROV 122
#endif // __CG1500_H
#endif // __CG1500_H

View File

@ -23,6 +23,6 @@
#define F_ANNORAFFR 117
#define F_STAMPAMOVPROV 118
#endif // __CG1600_H
#endif // __CG1600_H

View File

@ -886,17 +886,17 @@ _DescrItem* CG4300_App::recalc_rimborso(int month, const char* codatts)
d->_r7 = ala * CENTO;
}
if (rimborsami)
{
// il rimborso viene chiesto automaticamente
look_lim(month);
real cred = _lim->get_real("R0");
if (cred.sign() < 0)
{
_lim->put("R1",abs(cred));
_lim->rewrite();
}
}
// if (rimborsami)
// {
// il rimborso NON viene chiesto
// look_lim(month);
// real cred = _lim->get_real("R0");
// if (cred.sign() < 0)
// {
// _lim->put("R1",abs(cred));
// _lim->rewrite();
// }
// }
return d;
}