Correzione Mi2265 e MI2267 relativi all'ag. viaggi in annuale.
git-svn-id: svn://10.65.10.50/trunk@3981 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
3e32e338bb
commit
7a80be976f
@ -2412,7 +2412,7 @@ void TLiquidazione_app::write_liq(int month, const char* codatts)
|
||||
debt_precd.round(ROUND_MILLELIRE);
|
||||
|
||||
res_cred = iva_acq + versamenti + vers_int + cred_prec + acc_dec;
|
||||
res_debt = iva_vend + rimborsi + deb_mens + debt_precd;
|
||||
res_debt = iva_vend + rimborsi + debt_precd; // Tolto la somma di deb_mens, perche' gia' presente in iva_vend
|
||||
|
||||
if (tot_cong.sign() > 0) res_debt += tot_cong;
|
||||
else res_cred -= tot_cong;
|
||||
|
@ -414,6 +414,12 @@ void TLiquidazione_app::describe_viaggio(int month, const char* codatt)
|
||||
if (month == 13) d->_r11.round(ROUND_MILLELIRE);
|
||||
else d->_r11.ceil(ROUND_LIRA);
|
||||
}
|
||||
if (month == 13)
|
||||
{
|
||||
look_plm(month,codatt); // Scrive l'iva dovuta, visto che la describe_pims() viene chiamata successivamente.
|
||||
_pom->put("R13",d->_r11);
|
||||
_pom->rewrite();
|
||||
}
|
||||
|
||||
_descr_arr.add(d);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user