diff --git a/ve/ve6100.cpp b/ve/ve6100.cpp index b89f9272a..860359cdc 100755 --- a/ve/ve6100.cpp +++ b/ve/ve6100.cpp @@ -1174,7 +1174,8 @@ error_type TContabilizzazione_app::compile_head_mov() // Codice pagamento TString codpag(_doc->get("CODPAG")); - { + if (sc_enabled() || codpag.not_empty()) // La condizione di pagamento va controllata + { // se e' abilitato il saldaconto o se e' stata inserita _cpg->put("CODTAB",codpag); if (_cpg->read() != NOERR) {