diff --git a/cg/cg4304.cpp b/cg/cg4304.cpp index 9a2ba4478..429e45ceb 100755 --- a/cg/cg4304.cpp +++ b/cg/cg4304.cpp @@ -611,7 +611,15 @@ void TLiquidazione_app::describe_pims(int month, const char* codatt, const bool tab->get_real("R1").is_zero() && tab->get_real("R2").is_zero() && tab->get_real("R5").is_zero() && - tab->get_real("R6").is_zero()) + tab->get_real("R6").is_zero() && + tab->get_real("R26").is_zero() && + tab->get_real("R27").is_zero() && + tab->get_real("R28").is_zero() && + tab->get_real("R29").is_zero() && + tab->get_real("R30").is_zero() && + tab->get_real("R31").is_zero() && + tab->get_real("R32").is_zero() && + tab->get_real("R33").is_zero()) continue; if (activity == att && is_month_plain(mese) && _year == anno) @@ -786,8 +794,8 @@ void TLiquidazione_app::describe_pims(int month, const char* codatt, const bool } // if (tipomov == vendita) // { - if ((!diffimp.is_zero() && !diffiva.is_zero()) || - (!diffimp_acq.is_zero() && !diffiva_acq.is_zero())) + if (!diffimp.is_zero() || !diffiva.is_zero() || + !diffimp_acq.is_zero() || !diffiva_acq.is_zero()) { const word id = describe_pis ? PIS_ROW_D : PIM_ROW_D; int j; @@ -836,8 +844,8 @@ void TLiquidazione_app::describe_pims(int month, const char* codatt, const bool t30 += diffimp_acq; t31 += diffiva_acq; } - if ((!diffincimp.is_zero() && !diffinciva.is_zero()) || - (!diffincimp_acq.is_zero() && !diffinciva_acq.is_zero())) + if (!diffincimp.is_zero() || !diffinciva.is_zero() || + !diffincimp_acq.is_zero() || !diffinciva_acq.is_zero()) { const word id = describe_pis ? PIS_ROW_DI : PIM_ROW_DI; int j;