From fa8c1b4bff5f4af8ce0be7be83d1f11259e53ab1 Mon Sep 17 00:00:00 2001 From: villa Date: Fri, 3 Feb 1995 11:57:33 +0000 Subject: [PATCH] COrretto errore scorporo rimborso git-svn-id: svn://10.65.10.50/trunk@962 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- cg/cg4301.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cg/cg4301.cpp b/cg/cg4301.cpp index 54739c48c..c54c18d3e 100755 --- a/cg/cg4301.cpp +++ b/cg/cg4301.cpp @@ -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"); }