Corretto errore trafiletto delega

git-svn-id: svn://10.65.10.50/trunk@2094 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
nik 1995-11-06 12:50:53 +00:00
parent 6f39d41a3e
commit be8c3dbc1a

View File

@ -852,8 +852,8 @@ _DescrItem* TLiquidazione_app::describe_deleghe(int month)
_DescrItem* d = new _DescrItem(DELEGA);
if (look_del(month,month == 13 ? 2 : 1,TRUE))
{
look_del(month,month == 13 ? 2 : 1,TRUE);
//{
d->_f0 = (_del->get("S7").not_empty() || _del->get("S8").not_empty());
if (_del->get_bool("B0"))
{
@ -864,11 +864,11 @@ _DescrItem* TLiquidazione_app::describe_deleghe(int month)
d->_r0 = _del->get_real("R0");
d->_d0 = _del->get_date("D0");
} // altrimenti lascia tutto in bianco e ci scriveranno i dati a mano
}
//}
if ( (month == 12 && (_freqviva == "M" || (_isbenzinaro && _gest4)))
|| (_isannual && _freqviva == "T" && !(_isbenzinaro && _gest4)) )
if (look_del(12,7,TRUE))
if (look_del(12,7))
{
d->_s4 = "ACC";
d->_f0 = (_del->get("S7").not_empty() || _del->get("S8").not_empty());