From a4bae649ffc0467e2bc5af612e16ec3f7cbaa193 Mon Sep 17 00:00:00 2001 From: villa Date: Thu, 27 Jul 1995 09:51:45 +0000 Subject: [PATCH] Ciapa anche il rimborso solo se sei a credito git-svn-id: svn://10.65.10.50/trunk@1646 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- cg/cg4304.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cg/cg4304.cpp b/cg/cg4304.cpp index b0b26db47..f663c82bc 100755 --- a/cg/cg4304.cpp +++ b/cg/cg4304.cpp @@ -764,7 +764,7 @@ void TLiquidazione_app::describe_liq(int month, const char* codatts, if (_is_visliq) { // tutti i versamenti, sempre e comunque - d->_r8 = versamenti_IVA(_month, "1", TRUE); + d->_r8 = versamenti_IVA(_month, "1"); } else // rispettiamo tutte le casistiche per i versamenti @@ -772,7 +772,7 @@ void TLiquidazione_app::describe_liq(int month, const char* codatts, // aggiunge eventuale satellite per rimborso infraannuale - if (di != NULL) d->_arr.add(di); + if (di != NULL && d._r0.sign() < 0) d->_arr.add(di); if (!_is_visliq) {