diff --git a/cg/cg4301.cpp b/cg/cg4301.cpp index ad8c7502d..3c3d036ae 100755 --- a/cg/cg4301.cpp +++ b/cg/cg4301.cpp @@ -2150,7 +2150,8 @@ void TLiquidazione_app::write_liq(int month, const char* codatts) int tipoatt = att[att.len() -1] - '0'; if (tipoatt == 1) // su PLA l'attivita' e' sempre 1 { - look_pla(att); + if (!look_pla(att)) continue; + real vf1 = _pla->get_real("R14"); real vf2(_pla->get("S1")); real iaq = _pla->get_real("R11"); // IVA acquisti