diff --git a/src/mr/mr2100.cpp b/src/mr/mr2100.cpp index dcc8a4ad5..944fb5007 100755 --- a/src/mr/mr2100.cpp +++ b/src/mr/mr2100.cpp @@ -1188,7 +1188,6 @@ bool TMatResMask::on_field_event(TOperable_field& o, TField_event e, long jolly) switch(e) { case fe_modify: - case fe_init: { real qta, price; TString codart; @@ -2769,9 +2768,9 @@ bool TMatResPlanning::build_orders() sf.check_row(n); if (tipoord=="P") - tipoord=" "; + tipoord = " "; else - tipoord=m.get(F_TIPOCF_CONDV); + tipoord = "F"; find_price(m.get(F_TIPOCV),m.get(F_CODCONDV),m.get(F_CATVEN_CV), tipoord, codforn, codart, qta, price); row->add(price.string(), F_PREZZO - FIRST_FIELD); diff --git a/src/mr/mrplib.cpp b/src/mr/mrplib.cpp index a4236cfad..a63e98b1a 100755 --- a/src/mr/mrplib.cpp +++ b/src/mr/mrplib.cpp @@ -1452,7 +1452,7 @@ void find_price(const TString &tipocv, const TString &codcv, const TString &codc if (_condv->ricerca(codice, qta)) { price = _condv->get_prezzo(); - retry=FALSE; + retry = false; } } break;