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
This commit is contained in:
angelo 1997-11-14 16:45:23 +00:00
parent bd18333632
commit 090f0041ec

View File

@ -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];