Correzione MI6279, relativo al calcolo ventilazione per ditte
trimestrali, nel caso si richieda il calcolo da inizio anno. git-svn-id: svn://10.65.10.50/trunk@5330 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
d9776d32cb
commit
a2360e5b86
@ -422,7 +422,7 @@ bool TLiquidazione_app::update_att(int month, const char* codatt,
|
||||
{
|
||||
zero_att(month,codatt);
|
||||
recalc_att(month,codatt);
|
||||
if (_freqviva == "M" || (_freqviva == "T" && month == _month) || _month == 13)
|
||||
if (_freqviva == "M" || (_freqviva == "T" && is_trim(month)) || _month == 13)
|
||||
recalc_ventilation(month, codatt);
|
||||
recalc_corrispettivi(month, codatt);
|
||||
//13/12/1995
|
||||
|
@ -685,14 +685,14 @@ real TLiquidazione_app::credito_prec(int month)
|
||||
c = _lia->get_real("R0");
|
||||
// e' positivo o 0
|
||||
}
|
||||
else
|
||||
{
|
||||
c = result_liq(previous_month(month));
|
||||
if (c.sign() < 0) c = abs(c);
|
||||
else c = real(0.0);
|
||||
}
|
||||
else
|
||||
{
|
||||
c = result_liq(previous_month(month));
|
||||
if (c.sign() < 0) c = abs(c);
|
||||
else c = real(0.0);
|
||||
}
|
||||
|
||||
return c;
|
||||
return c;
|
||||
}
|
||||
|
||||
real TLiquidazione_app::credito_costo_prec(int month)
|
||||
|
Loading…
x
Reference in New Issue
Block a user