Correzione MI4354, relativo alla stampa localita' Cli/Fo
git-svn-id: svn://10.65.10.50/trunk@4249 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
a7a9166fb1
commit
a8d4d9d952
@ -2141,7 +2141,10 @@ bool CG4400_application::preprocess_page(int file, int counter)
|
|||||||
ragsoc = descrcau;
|
ragsoc = descrcau;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (ocfpi.trim().empty())
|
ocfpi.trim();
|
||||||
|
comune = "";
|
||||||
|
prov = "";
|
||||||
|
if (ocfpi.empty())
|
||||||
{
|
{
|
||||||
TRectype dep = ricerca_cf(tipocf, codcf);
|
TRectype dep = ricerca_cf(tipocf, codcf);
|
||||||
ragsoc = dep.get (CLI_RAGSOC);
|
ragsoc = dep.get (CLI_RAGSOC);
|
||||||
@ -2149,6 +2152,7 @@ bool CG4400_application::preprocess_page(int file, int counter)
|
|||||||
civcf = dep.get (CLI_CIVCF);
|
civcf = dep.get (CLI_CIVCF);
|
||||||
capcf = dep.get (CLI_CAPCF);
|
capcf = dep.get (CLI_CAPCF);
|
||||||
comcf = dep.get (CLI_COMCF);
|
comcf = dep.get (CLI_COMCF);
|
||||||
|
comune = dep.get (CLI_LOCCF);
|
||||||
char tipoa = dep.get_char(CLI_TIPOAPER);
|
char tipoa = dep.get_char(CLI_TIPOAPER);
|
||||||
if (tipoa == 'F')
|
if (tipoa == 'F')
|
||||||
{
|
{
|
||||||
@ -2170,8 +2174,11 @@ bool CG4400_application::preprocess_page(int file, int counter)
|
|||||||
comcf = dep.get (OCC_COM);
|
comcf = dep.get (OCC_COM);
|
||||||
}
|
}
|
||||||
TRectype com = look_comuni(comcf);
|
TRectype com = look_comuni(comcf);
|
||||||
comune = com.get(COM_DENCOM);
|
if (!com.empty())
|
||||||
prov = com.get(COM_PROVCOM);
|
{
|
||||||
|
comune = com.get(COM_DENCOM);
|
||||||
|
prov = com.get(COM_PROVCOM);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
_tipodoc = mov.get(MOV_TIPODOC);
|
_tipodoc = mov.get(MOV_TIPODOC);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user