From 090f0041ec41ece7c75e769e4bd8b13af3096f2f Mon Sep 17 00:00:00 2001 From: angelo Date: Fri, 14 Nov 1997 16:45:23 +0000 Subject: [PATCH] Corretto errore MI2375 MI2376 MI2381 relativi alla liquidazione di ditte trimestrali con ventilazione git-svn-id: svn://10.65.10.50/trunk@5624 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- cg/cg4303.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/cg/cg4303.cpp b/cg/cg4303.cpp index 02970608f..99a6a0fd1 100755 --- a/cg/cg4303.cpp +++ b/cg/cg4303.cpp @@ -186,10 +186,15 @@ void TLiquidazione_app::recalc_ventilation(int month, const char* codatt) for (int i = 0; i < vend_items; i++) { _VendItem* vi = (_VendItem*)&_vend_arr[i]; - totven += vi->_totale; + totven += vi->_totale; + } + + { + _VendItem* vi = (_VendItem*)&_vend_arr[0]; + //totven += vi->_totale; // 3.2) calcola percentuali di ripartizione e prepara l'affettatrice - TDistrib dst(vi->_totale, ROUND_LIRA); + TDistrib dst(/*vi->_totale*/totven, ROUND_LIRA); for (j = 0; j < vent_items; j++) { _VentItem* vv = (_VentItem*)&_vent_arr[j];