Merge branch 'R_10_00' of http://10.65.20.33/sirio/CAMPO/campo into R_10_00

This commit is contained in:
Alessandro Bonazzi 2021-04-01 00:59:22 +02:00
commit 2221c7ba10
4 changed files with 25 additions and 3 deletions

3
cd/test/fp1048.txt Normal file
View File

@ -0,0 +1,3 @@
fp0.exe
Bug corretto su comune residenza fiscale

19
cd/test/fp1048a.ini Normal file
View File

@ -0,0 +1,19 @@
[Main]
Demo=0
[fp0]
File(0) = fp0.exe|X
Patch = 1048
Versione = 21511200
[fp]
Data = 30-03-2021
Descrizione = Fattura Elettronica
Dischi = 1
Moduli = cg,ve
OEM =
Patch = 1048
PostProcess =
PreProcess =
Versione = 21511200

BIN
cd/test/fp1048a1.zip Normal file

Binary file not shown.

View File

@ -341,9 +341,9 @@ bool TAnagrafica::init(const TRectype& rec)
// Comune di residenza fiscale o domicilio
_stato_estero = rec.get_int(ANA_STATORES);
_com_res = rec.get(ANA_COMRF);
if (_com_res.empty())
_com_res = rec.get(ANA_COMRES);
_com_res = rec.get(ANA_COMRES);
//if (_com_res.empty())
// _com_res = rec.get(ANA_COMRF);
build_ind_res(rec, ANA_INDRES, ANA_CIVRES);
_cap_res = rec.get(ANA_CAPRES);