Patch level :4.0 981
Files correlati : Ricompilazione Demo : [ ] Commento :corretti casini di riporto git-svn-id: svn://10.65.10.50/trunk@15629 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
041412110d
commit
d619ad97a8
@ -1204,7 +1204,7 @@ bool TTrasferimento770::append_record_b()
|
||||
rec.set(36, rec_comres.get(COM_PROVCOM));
|
||||
TString indirizzo;
|
||||
indirizzo << rec_anagr.get(ANA_INDRES) << ' ' << rec_anagr.get(ANA_CIVRES);
|
||||
indirizzo.strip_d_spaces(); indirizzo.cut(35);
|
||||
indirizzo.strip_double_spaces(); indirizzo.cut(35);
|
||||
rec.set(37, indirizzo);
|
||||
rec.set(38, rec_anagr.get(ANA_CAPRES));
|
||||
rec.set(39, rec_anagr.get(ANA_COMRES));
|
||||
@ -1227,7 +1227,7 @@ bool TTrasferimento770::append_record_b()
|
||||
rec.set(96, rec_anagr.get(ANA_CAPRES));
|
||||
|
||||
TString80 indirizzo = rec_anagr.get(ANA_INDRES);
|
||||
indirizzo.strip_d_spaces(); indirizzo.trim();
|
||||
indirizzo.strip_double_spaces(); indirizzo.trim();
|
||||
TString8 tipologia;
|
||||
const int spazio = indirizzo.find(' ');
|
||||
if (spazio > 0 && spazio < 16)
|
||||
@ -1272,7 +1272,7 @@ bool TTrasferimento770::append_record_b()
|
||||
rec.set(119, rec_rap.get(ANA_CAPRES));
|
||||
indirizzo.cut(0);
|
||||
indirizzo << rec_rap.get(ANA_INDRES) << ' ' << rec_rap.get(ANA_CIVRES);
|
||||
indirizzo.strip_d_spaces(); indirizzo.cut(35); indirizzo.trim();
|
||||
indirizzo.strip_double_spaces(); indirizzo.cut(35); indirizzo.trim();
|
||||
rec.set(120, indirizzo);
|
||||
|
||||
ok = write(rec);
|
||||
|
Loading…
x
Reference in New Issue
Block a user