Patch level :

Files correlati     : tp0.exe tp0900es.rep
Ricompilazione Demo : [ ]
Commento            :
Corretto arrotondamento tonnellate a 3 cifre in scheda 6.3
Prima c'era un troncamento degli addendi


git-svn-id: svn://10.65.10.50/branches/R_10_00@22451 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2011-10-12 13:28:20 +00:00
parent ba785d01fa
commit 634cd30390
2 changed files with 12 additions and 13 deletions

View File

@ -540,7 +540,6 @@ void TDichiarazione_CONAI::elabora(const TMask& mask) const
default: break;
}
//Adesso prende le numerazioni e i tipi documento
TSheet_field& sf = mask.sfield(F_TIPI);
@ -573,9 +572,6 @@ void TDichiarazione_CONAI::elabora(const TMask& mask) const
//creazione del csv recordset che verra' riempito dai record del recordset rdoc
TDichiarazione_CONAI_csv_recordset* csv = new TDichiarazione_CONAI_csv_recordset;
//quante righe dello sheet processa?
const long tot_items = sf.items();
//Visto che e' possibile avere una secchiata di numerazioni, gli tocca fare un giro per ogni numerazione
FOR_EACH_SHEET_ROW(sf, r, row)
{
@ -585,12 +581,9 @@ void TDichiarazione_CONAI::elabora(const TMask& mask) const
//quanti record validi ha trovato?
const long items = rdoc.items();
#ifdef DBG
// warning_box("Hai trovato %ld righe di %s! Ti sembrano abbastanza?", items, row->get(0));
#endif
//E crea pure la progind..
TProgind pi(tot_items, TR("Generazione righe..."), true, true);
TProgind pi(items, TR("Generazione righe..."));
long last_ndoc = 0;

View File

@ -272,22 +272,28 @@ THEN </prescript>
<field border="1" x="11.5" y="1" type="Linea" width="80" height="0" pattern="1" />
<field x="13" type="Stringa" width="16" id="40" pattern="1" />
<field x="29.5" type="Numero" align="right" width="10" id="101" pattern="1" hide_zero="1" text="##.###,@@@">
<prescript description="F2.101 PRESCRIPT">#THIS @ 3 ROUND #THIS !</prescript>
<postscript description="F2.101 POSTSCRIPT">MESSAGE ADD,F1.101</postscript>
</field>
<field x="40" type="Numero" align="right" width="10" id="102" pattern="1" hide_zero="1" text="##.###,@@@">
<postscript description="F2.102 POSTSCRIPT">MESSAGE ADD,F1.102</postscript>
<prescript description="F2.103 PRESCRIPT">#THIS @ 3 ROUND #THIS !</prescript>
<postscript description="F2.102 POSTSCRIPT">MESSAGE ADD,F1.102</postscript>
</field>
<field x="50.5" type="Numero" align="right" width="10" id="103" pattern="1" hide_zero="1" text="##.###,@@@">
<postscript description="F2.103 POSTSCRIPT">MESSAGE ADD,F1.103</postscript>
<prescript description="F2.103 PRESCRIPT">#THIS @ 3 ROUND #THIS !</prescript>
<postscript description="F2.103 POSTSCRIPT">MESSAGE ADD,F1.103</postscript>
</field>
<field x="60.5" type="Numero" align="right" width="10" id="104" pattern="1" hide_zero="1" text="##.###,@@@">
<postscript description="F2.104 POSTSCRIPT">MESSAGE ADD,F1.104</postscript>
<prescript description="F2.104 PRESCRIPT">#THIS @ 3 ROUND #THIS !</prescript>
<postscript description="F2.104 POSTSCRIPT">MESSAGE ADD,F1.104</postscript>
</field>
<field x="71" type="Numero" align="right" width="10" id="105" pattern="1" hide_zero="1" text="##.###,@@@">
<postscript description="F2.105 POSTSCRIPT">MESSAGE ADD,F1.105</postscript>
<prescript description="F2.105 PRESCRIPT">#THIS @ 3 ROUND #THIS !</prescript>
<postscript description="F2.105 POSTSCRIPT">MESSAGE ADD,F1.105</postscript>
</field>
<field x="81.5" type="Numero" align="right" width="10" id="106" pattern="1" hide_zero="1" text="##.###,@@@">
<postscript description="F2.106 POSTSCRIPT">MESSAGE ADD,F1.106</postscript>
<prescript description="F2.106 PRESCRIPT">#THIS @ 3 ROUND #THIS !</prescript>
<postscript description="F2.106 POSTSCRIPT">MESSAGE ADD,F1.106</postscript>
</field>
</section>
</report>