diff --git a/src/cg/cg2104.cpp b/src/cg/cg2104.cpp index fd123d63d..ae7ffd6c7 100755 --- a/src/cg/cg2104.cpp +++ b/src/cg/cg2104.cpp @@ -337,7 +337,7 @@ bool TPrimanota_application::codpag_handler(TMask_field& f, KEY key) // Nella maschera iva cerco di reperirlo dal cliente if (m.id2pos(F_CLIENTE) > 0) { - const TString4 typ = a.clifo(m); + const TString4 typ = a.clifo(); const long cod = m.get_long(typ == "C" ? F_CLIENTE : F_FORNITORE); TLocalisamfile clifo(LF_CLIFO); clifo.put(CLI_TIPOCF, typ); @@ -929,7 +929,7 @@ int TPrimanota_application::cerca_conto_cf(TBill& bill) const TString_array& a = cgs().rows_array(); if (iva() != nessuna_iva) { - const TString4 tipocf = clifo(curr_mask()); + const TString4 tipocf = clifo(); const long codcf = curr_mask().get_long(tipocf == 'C' ? F_CLIENTE : F_FORNITORE); for (int r = 0; r < a.items(); r++) {