Patch level : 12.0 428
Files correlati : tf Commento : - Sistemati decimali, sono spariti a caso - Sistemato estero non CEE git-svn-id: svn://10.65.10.50/branches/R_10_00@23989 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
dff6c2efcd
commit
7d04d7aabd
@ -396,11 +396,10 @@ const TString& TTrFa_record::var2str(const TString& fldname, const TVariant& var
|
|||||||
const TFieldtypes vt = var.type();
|
const TFieldtypes vt = var.type();
|
||||||
if (vt == _realfld)
|
if (vt == _realfld)
|
||||||
{
|
{
|
||||||
const TCurrency v(var.as_real(), "", ZERO, fldname.find("IMPONIBILE")>0 || fldname.find("IMPOSTA")>0);
|
const real r = var.as_string();
|
||||||
TString& tmp = get_tmp_string();
|
TString& tmp = get_tmp_string();
|
||||||
tmp << '\'' << v.string() << '\'';
|
tmp << '\'' << r.string() << '\'';
|
||||||
tmp.replace(',','.');
|
return tmp;
|
||||||
return tmp;
|
|
||||||
}
|
}
|
||||||
if (vt == _datefld)
|
if (vt == _datefld)
|
||||||
{
|
{
|
||||||
@ -1106,7 +1105,7 @@ bool TTrFa_app::tff0400(TSheet_field& sheet)
|
|||||||
TRectype r_cedeprest = getCli(vtipocf.as_string(), vcodcf.as_string(), voccas.as_string());
|
TRectype r_cedeprest = getCli(vtipocf.as_string(), vcodcf.as_string(), voccas.as_string());
|
||||||
TAnagrafica cedeprest;
|
TAnagrafica cedeprest;
|
||||||
|
|
||||||
if(vtipocf.as_string() == "C" && vcodcf.as_string() == "2327")
|
if(vtipocf.as_string() == "C" && vcodcf.as_string() == "3566")
|
||||||
bool tolla = true;
|
bool tolla = true;
|
||||||
|
|
||||||
// Con l'uscita di questo programma è stato messo un collegamento in prima nota
|
// Con l'uscita di questo programma è stato messo un collegamento in prima nota
|
||||||
@ -1215,8 +1214,8 @@ bool TTrFa_app::tff0400(TSheet_field& sheet)
|
|||||||
TString nome;
|
TString nome;
|
||||||
for(int i = 2; i < nomeCog.items(); i++)
|
for(int i = 2; i < nomeCog.items(); i++)
|
||||||
nome << nomeCog.get(i) << " ";
|
nome << nomeCog.get(i) << " ";
|
||||||
tff0400f.set("P4_ANANOME", cognome);
|
tff0400f.set("P4_ANANOME", nome);
|
||||||
tff0400f.set("P4_ANACOGNOME", nome);
|
tff0400f.set("P4_ANACOGNOME", cognome);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
rsoc = true;
|
rsoc = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user