Patch level :10.0 / 4.0 1102

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :conai sotto esame!


git-svn-id: svn://10.65.10.50/trunk@16273 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2008-03-07 15:15:18 +00:00
parent 97043a38f5
commit 07bbb09403
10 changed files with 131 additions and 139 deletions

View File

@ -38,7 +38,9 @@ bool TDichiarazione_CONAI_mask::on_field_event(TOperable_field& o, TField_event
{
switch (o.dlg())
{
case F_PERIODO:
case F_FIRM:
if (e == fe_init || e == fe_modify)
o.check(RUNNING_CHECK);
break;
default:
break;
@ -84,7 +86,7 @@ class TDichiarazione_CONAI : public TSkeleton_application
{
protected:
real clifo_conai(const long clifo_cod, const int conai_specie) const;
real clifo_conai(const TCli_for& clifo, const int conai_specie, TString& paiv) const;
void elabora(const TMask& mask) const;
void scrivi_csv(const TRectype& prima_riga, TDichiarazione_CONAI_csv_recordset& csv,
const int conai_specie, const TString& conai_codart) const;
@ -100,37 +102,18 @@ public:
};
real TDichiarazione_CONAI::clifo_conai(const long clifo_cod, const int conai_specie) const
real TDichiarazione_CONAI::clifo_conai(const TCli_for& clifo, const int conai_specie, TString& paiv) const
{
TToken_string cfven_key;
cfven_key.add("C");
cfven_key.add(clifo_cod);
const TRectype& cfven_rec = cache().get(LF_CFVEN, cfven_key);
const char* campi[6] = { CFV_ESACC, CFV_ESALL, CFV_ESCAR, CFV_ESPLA, CFV_ESLEG, CFV_ESVET };
const TRectype& cfven_rec = clifo.vendite();
real cfven_perc_conai = ZERO;
if (conai_specie >= 0 && conai_specie < 6)
cfven_perc_conai = cfven_rec.get_real(campi[conai_specie]);
paiv = clifo.get(CLI_PAIV);
if (paiv.empty())
paiv = clifo.get(CLI_COFI);
switch (conai_specie)
{
case 0:
cfven_perc_conai = cfven_rec.get_real(CFV_ESACC);
break;
case 1:
cfven_perc_conai = cfven_rec.get_real(CFV_ESALL);
break;
case 2:
cfven_perc_conai = cfven_rec.get_real(CFV_ESCAR);
break;
case 3:
cfven_perc_conai = cfven_rec.get_real(CFV_ESPLA);
break;
case 4:
cfven_perc_conai = cfven_rec.get_real(CFV_ESLEG);
break;
case 5:
cfven_perc_conai = cfven_rec.get_real(CFV_ESVET);
break;
default:
break;
}
return cfven_perc_conai;
}
@ -153,13 +136,10 @@ void TDichiarazione_CONAI::scrivi_csv_doc_con_riga_generata(TDocumento& doc, con
const TDate& datadoc = doc.data();
//prende il cliente ed i suoi dati
TCli_for clifo = doc.clifor();
const long clifo_cod = clifo.codice();
TString16 clifo_cofi = clifo.get(CLI_COFI);
if (clifo_cofi.empty())
clifo_cofi = clifo.get(CLI_PAIV);
const TCli_for& clifo = doc.clifor();
TString16 clifo_paiv;
//cerca la percentuale di esenzione conai sul cliente (controllo)
const real cfven_perc_conai = clifo_conai(clifo_cod, conai_specie);
const real cfven_perc_conai = clifo_conai(clifo, conai_specie, clifo_paiv);
const int nrighe = doc.rows();
@ -210,8 +190,8 @@ void TDichiarazione_CONAI::scrivi_csv_doc_con_riga_generata(TDocumento& doc, con
csv.set(1, TVariant(rdoc.get(RDOC_ANNO)));
csv.set(2, TVariant(rdoc.get(RDOC_NDOC)));
csv.set(3, TVariant(datadoc));
csv.set(4, TVariant(clifo_cod));
csv.set(5, TVariant(clifo_cofi));
csv.set(4, TVariant(clifo.codice()));
csv.set(5, TVariant(clifo_paiv));
csv.set(6, TVariant(rdoc.get(RDOC_CODART)));
csv.set(7, TVariant(rdoc.get(RDOC_NRIGA)));
@ -275,13 +255,10 @@ void TDichiarazione_CONAI::scrivi_csv_doc_speciale(TDocumento& doc, TDichiarazio
const TDate& datadoc = doc.data();
//prende il cliente ed i suoi dati
TCli_for clifo = doc.clifor();
const long clifo_cod = clifo.codice();
TString16 clifo_cofi = clifo.get(CLI_COFI);
if (clifo_cofi.empty())
clifo_cofi = clifo.get(CLI_PAIV);
const TCli_for& clifo = doc.clifor();
TString16 clifo_paiv;
//cerca la percentuale di esenzione conai sul cliente (controllo)
const real cfven_perc_conai = clifo_conai(clifo_cod, conai_specie);
const real cfven_perc_conai = clifo_conai(clifo, conai_specie, clifo_paiv);
const int nrighe = doc.rows();
@ -313,8 +290,8 @@ void TDichiarazione_CONAI::scrivi_csv_doc_speciale(TDocumento& doc, TDichiarazio
csv.set(1, TVariant(rdoc.get(RDOC_ANNO)));
csv.set(2, TVariant(rdoc.get(RDOC_NDOC)));
csv.set(3, TVariant(datadoc));
csv.set(4, TVariant(clifo_cod));
csv.set(5, TVariant(clifo_cofi));
csv.set(4, TVariant(clifo.codice()));
csv.set(5, TVariant(clifo_paiv));
csv.set(6, TVariant(rdoc.get(RDOC_CODART)));
csv.set(7, TVariant(rdoc.get(RDOC_NRIGA)));
@ -380,26 +357,33 @@ void TDichiarazione_CONAI::scrivi_csv(const TRectype& prima_riga, TDichiarazione
//documento della prima riga e quindi anche di tutte le altre righe conai
TDocumento doc('D', anno, codnum, numdoc);
//cerca la riga generata (in tal caso e' un documento con righe CONAI giuste)
const int nrighe = doc.rows();
//controlli sul cliente
const TCli_for& clifo = doc.clifor();
const bool addconai = clifo.vendite().get_bool(CFV_ADDCONAI);
int n_riga_generata = 0;
for (int j = 1; j <= nrighe; j++)
//se il cliente non c'entra con il conai e' inutile perdere tempo!
if (addconai)
{
const TRiga_documento& rdoc = doc[j];
//c'è la riga generata con codart di tipo conai (sia automatica che manuale)?
if (rdoc.get(RDOC_CODART) == conai_codart && (rdoc.is_spese() || rdoc.is_generata()))
//cerca la riga generata (in tal caso e' un documento con righe CONAI giuste)
const int nrighe = doc.rows();
int n_riga_generata = 0;
for (int j = 1; j <= nrighe; j++)
{
n_riga_generata = j;
break;
const TRiga_documento& rdoc = doc[j];
//c'è la riga generata con codart di tipo conai (sia automatica che manuale)?
if (rdoc.get(RDOC_CODART) == conai_codart && (rdoc.is_spese() || rdoc.is_generata()))
{
n_riga_generata = j;
break;
}
}
if (n_riga_generata > 0)
scrivi_csv_doc_con_riga_generata(doc, n_riga_generata, csv, conai_specie);
else
scrivi_csv_doc_speciale(doc, csv, conai_specie, conai_codart);
}
if (n_riga_generata > 0)
scrivi_csv_doc_con_riga_generata(doc, n_riga_generata, csv, conai_specie);
else
scrivi_csv_doc_speciale(doc, csv, conai_specie, conai_codart);
}
@ -452,9 +436,17 @@ static int compare_csv_rows_datadoc(const TObject** o1, const TObject** o2)
TToken_string& s2 = *(TToken_string*)*o2;
//deve ordinare sul campo datadoc (campo 3)
const TString& c1 = s1.get(3);
const TString& c2 = s2.get(3);
int cmp = c1.compare(c2);
const TDate c1 = s1.get(3);
const TDate c2 = s2.get(3);
int cmp = c1 - c2;
// sotto-sotto ordinamento per ndoc (campo 2)
if (cmp == 0)
{
const long c1 = s1.get_long(2);
const long c2 = s2.get_long(2);
cmp = c1 - c2;
}
return cmp;
}
@ -475,7 +467,7 @@ void TDichiarazione_CONAI::elabora(const TMask& mask) const
case 2:
{
const int mese = mask.get_int(F_TRIMESTRE);
dataini.set_month(mese);
dataini.set_month(mese - 2);
datafin = dataini;
datafin.addmonth(2);
datafin.set_end_month();
@ -692,7 +684,7 @@ void TDichiarazione_CONAI::elabora(const TMask& mask) const
void TDichiarazione_CONAI::main_loop()
{
TDichiarazione_CONAI_mask mask;
mask.field(F_FIRM).check(RUNNING_CHECK);
while (mask.run() == K_ENTER)
{
elabora(mask);

View File

@ -39,7 +39,7 @@ BEGIN
OUTPUT F_RAGSOC RAGSOC
OUTPUT F_PAIV LF_ANAG->PAIV
OUTPUT F_COFI LF_ANAG->COFI
FLAGS "DF"
FLAGS "DFG"
CHECKTYPE FORCED
END

View File

@ -49,47 +49,47 @@
<field x="37" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="1","X","")</source>
<source>IF(#MESE="01","X","")</source>
</field>
<field x="41.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="2","X","")</source>
<source>IF(#MESE="02","X","")</source>
</field>
<field x="46" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="3","X","")</source>
<source>IF(#MESE="03","X","")</source>
</field>
<field x="51" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="4","X","")</source>
<source>IF(#MESE="04","X","")</source>
</field>
<field x="55.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="5","X","")</source>
<source>IF(#MESE="05","X","")</source>
</field>
<field x="60.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="6","X","")</source>
<source>IF(#MESE="06","X","")</source>
</field>
<field x="65" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="7","X","")</source>
<source>IF(#MESE="07","X","")</source>
</field>
<field x="70" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="8","X","")</source>
<source>IF(#MESE="08","X","")</source>
</field>
<field x="74.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="9","X","")</source>
<source>IF(#MESE="09","X","")</source>
</field>
<field x="79.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />

View File

@ -49,47 +49,47 @@
<field x="37" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="1","X","")</source>
<source>IF(#MESE="01","X","")</source>
</field>
<field x="41.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="2","X","")</source>
<source>IF(#MESE="02","X","")</source>
</field>
<field x="46" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="3","X","")</source>
<source>IF(#MESE="03","X","")</source>
</field>
<field x="51" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="4","X","")</source>
<source>IF(#MESE="04","X","")</source>
</field>
<field x="55.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="5","X","")</source>
<source>IF(#MESE="05","X","")</source>
</field>
<field x="60.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="6","X","")</source>
<source>IF(#MESE="06","X","")</source>
</field>
<field x="65" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="7","X","")</source>
<source>IF(#MESE="07","X","")</source>
</field>
<field x="70" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="8","X","")</source>
<source>IF(#MESE="08","X","")</source>
</field>
<field x="74.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="9","X","")</source>
<source>IF(#MESE="09","X","")</source>
</field>
<field x="79.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />

View File

@ -49,47 +49,47 @@
<field x="37" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="1","X","")</source>
<source>IF(#MESE="01","X","")</source>
</field>
<field x="41.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="2","X","")</source>
<source>IF(#MESE="02","X","")</source>
</field>
<field x="46" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="3","X","")</source>
<source>IF(#MESE="03","X","")</source>
</field>
<field x="51" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="4","X","")</source>
<source>IF(#MESE="04","X","")</source>
</field>
<field x="55.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="5","X","")</source>
<source>IF(#MESE="05","X","")</source>
</field>
<field x="60.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="6","X","")</source>
<source>IF(#MESE="06","X","")</source>
</field>
<field x="65" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="7","X","")</source>
<source>IF(#MESE="07","X","")</source>
</field>
<field x="70" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="8","X","")</source>
<source>IF(#MESE="08","X","")</source>
</field>
<field x="74.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="9","X","")</source>
<source>IF(#MESE="09","X","")</source>
</field>
<field x="79.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />

View File

@ -49,47 +49,47 @@
<field x="37" y="14.56" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="1","X","")</source>
<source>IF(#MESE="01","X","")</source>
</field>
<field x="41.5" y="14.56" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="2","X","")</source>
<source>IF(#MESE="02","X","")</source>
</field>
<field x="46" y="14.56" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="3","X","")</source>
<source>IF(#MESE="03","X","")</source>
</field>
<field x="51" y="14.56" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="4","X","")</source>
<source>IF(#MESE="04","X","")</source>
</field>
<field x="55.5" y="14.56" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="5","X","")</source>
<source>IF(#MESE="05","X","")</source>
</field>
<field x="60.5" y="14.56" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="6","X","")</source>
<source>IF(#MESE="06","X","")</source>
</field>
<field x="65" y="14.56" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="7","X","")</source>
<source>IF(#MESE="07","X","")</source>
</field>
<field x="70" y="14.56" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="8","X","")</source>
<source>IF(#MESE="08","X","")</source>
</field>
<field x="74.5" y="14.56" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="9","X","")</source>
<source>IF(#MESE="09","X","")</source>
</field>
<field x="79.5" y="14.56" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />

View File

@ -49,47 +49,47 @@
<field x="37" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="1","X","")</source>
<source>IF(#MESE="01","X","")</source>
</field>
<field x="41.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="2","X","")</source>
<source>IF(#MESE="02","X","")</source>
</field>
<field x="46" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="3","X","")</source>
<source>IF(#MESE="03","X","")</source>
</field>
<field x="51" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="4","X","")</source>
<source>IF(#MESE="04","X","")</source>
</field>
<field x="55.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="5","X","")</source>
<source>IF(#MESE="05","X","")</source>
</field>
<field x="60.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="6","X","")</source>
<source>IF(#MESE="06","X","")</source>
</field>
<field x="65" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="7","X","")</source>
<source>IF(#MESE="07","X","")</source>
</field>
<field x="70" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="8","X","")</source>
<source>IF(#MESE="08","X","")</source>
</field>
<field x="74.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="9","X","")</source>
<source>IF(#MESE="09","X","")</source>
</field>
<field x="79.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />

View File

@ -49,47 +49,47 @@
<field x="37" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="1","X","")</source>
<source>IF(#MESE="01","X","")</source>
</field>
<field x="41.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="2","X","")</source>
<source>IF(#MESE="02","X","")</source>
</field>
<field x="46" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="3","X","")</source>
<source>IF(#MESE="03","X","")</source>
</field>
<field x="51" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="4","X","")</source>
<source>IF(#MESE="04","X","")</source>
</field>
<field x="55.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="5","X","")</source>
<source>IF(#MESE="05","X","")</source>
</field>
<field x="60.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="6","X","")</source>
<source>IF(#MESE="06","X","")</source>
</field>
<field x="65" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="7","X","")</source>
<source>IF(#MESE="07","X","")</source>
</field>
<field x="70" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="8","X","")</source>
<source>IF(#MESE="08","X","")</source>
</field>
<field x="74.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="9","X","")</source>
<source>IF(#MESE="09","X","")</source>
</field>
<field x="79.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />

View File

@ -64,47 +64,47 @@
<field x="37" y="16.56" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="1","X","")</source>
<source>IF(#MESE="01","X","")</source>
</field>
<field x="41.5" y="16.56" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="2","X","")</source>
<source>IF(#MESE="02","X","")</source>
</field>
<field x="46" y="16.56" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="3","X","")</source>
<source>IF(#MESE="03","X","")</source>
</field>
<field x="51" y="16.56" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="4","X","")</source>
<source>IF(#MESE="04","X","")</source>
</field>
<field x="55.5" y="16.56" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="5","X","")</source>
<source>IF(#MESE="05","X","")</source>
</field>
<field x="60.5" y="16.56" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="6","X","")</source>
<source>IF(#MESE="06","X","")</source>
</field>
<field x="65" y="16.56" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="7","X","")</source>
<source>IF(#MESE="07","X","")</source>
</field>
<field x="70" y="16.56" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="8","X","")</source>
<source>IF(#MESE="08","X","")</source>
</field>
<field x="74.5" y="16.56" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="9","X","")</source>
<source>IF(#MESE="09","X","")</source>
</field>
<field x="79.5" y="16.56" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />

View File

@ -49,47 +49,47 @@
<field x="37" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="1","X","")</source>
<source>IF(#MESE="01","X","")</source>
</field>
<field x="41.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="2","X","")</source>
<source>IF(#MESE="02","X","")</source>
</field>
<field x="46" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="3","X","")</source>
<source>IF(#MESE="03","X","")</source>
</field>
<field x="51" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="4","X","")</source>
<source>IF(#MESE="04","X","")</source>
</field>
<field x="55.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="5","X","")</source>
<source>IF(#MESE="05","X","")</source>
</field>
<field x="60.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="6","X","")</source>
<source>IF(#MESE="06","X","")</source>
</field>
<field x="65" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="7","X","")</source>
<source>IF(#MESE="07","X","")</source>
</field>
<field x="70" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="8","X","")</source>
<source>IF(#MESE="08","X","")</source>
</field>
<field x="74.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />
<groups>3</groups>
<source>IF(#MESE="9","X","")</source>
<source>IF(#MESE="09","X","")</source>
</field>
<field x="79.5" y="11.5" type="Stringa" width="1" pattern="1">
<font face="Courier New" bold="1" size="12" />