diff --git a/ve/velib04c.cpp b/ve/velib04c.cpp index 47a49ed40..8cd7f74c1 100755 --- a/ve/velib04c.cpp +++ b/ve/velib04c.cpp @@ -391,7 +391,7 @@ void TGenerazione_effetti::calc_pagamento(TDocumento& doc, TString16& codpag, TS real totspese = doc.spese(); real totimposte = doc.imposta(); real totimponibili = doc.totale_doc() - totimposte - totspese; - if (doc.in_valuta) + if (doc.in_valuta()) { real val1 = totimponibili * change; real val2 = totimposte * change;