diff --git a/src/fe/felib.cpp b/src/fe/felib.cpp index a7f50ec44..e0d068b76 100644 --- a/src/fe/felib.cpp +++ b/src/fe/felib.cpp @@ -403,6 +403,7 @@ bool TAnagrafica::init(const TRectype& rec) _tipo = rec.get_char(ANA_TIPOA); _ragsoc = rec.get(ANA_RAGSOC); _cofi = rec.get(ANA_COFI); + _cofiest = rec.get(ANA_COFIEST); _paiv = rec.get(ANA_PAIV); _stato_paiv = rec.get(ANA_STATOPAIV); diff --git a/src/fe/felib.h b/src/fe/felib.h index 4bea12364..139660721 100644 --- a/src/fe/felib.h +++ b/src/fe/felib.h @@ -17,7 +17,7 @@ class TAnagrafica : public TObject { char _tipo; // F o G TString4 _stato_paiv; - TString16 _cofi, _paiv; + TString _cofi, _paiv, _cofiest; TString80 _ragsoc; TString4 _com_nasc, _com_res; TString80 _loc_res, _ind_res, _via_res; @@ -38,6 +38,7 @@ public: bool giuridica() const { return _tipo == 'G'; } const TString& codice_fiscale() const { return _cofi; } + const TString& codice_fiscale_estero() const { return _cofiest; } const TString& partita_IVA() const { return _paiv; } const TString& stato_partita_IVA() const;