COrretto errore scorporo rimborso

git-svn-id: svn://10.65.10.50/trunk@962 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
villa 1995-02-03 11:57:33 +00:00
parent 050648ec69
commit fa8c1b4bff

View File

@ -1052,7 +1052,7 @@ void TLiquidazione_app::write_liq(int month, const char* codatts)
iva_vend += _plm->get_real("R0");
iva_acq += _plm->get_real("R1");
risultato += (_plm->get_real("R0") + _plm->get_real("R1"));
risultato += (_plm->get_real("R0") - _plm->get_real("R1"));
detrazioni+= (_plm->get_real("R3") + _plm->get_real("R4"));
res_debt += _plm->get_real("R0");
res_cred += _plm->get_real("R1");
@ -1082,7 +1082,7 @@ void TLiquidazione_app::write_liq(int month, const char* codatts)
*/
if (attc == 0 && is_lim)
{
risultato -= _lim->get_real("R1");
risultato += _lim->get_real("R1");
rimborsi += _lim->get_real("R1");
res_debt += _lim->get_real("R1");
}