Patch level :2.2 172
Files correlati :stampa rendiconto Ricompilazione Demo : [ ] Commento : Sistemati campi testata report. Aggiunti commenti per la comprensione del programma. git-svn-id: svn://10.65.10.50/trunk@13342 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
ea6b6dc09f
commit
e3bf7a51c7
@ -399,15 +399,19 @@ const TVariant& TPrint_rendiconto_ca_recordset::get(const char* column_name) con
|
||||
var = _a_conto_riclas;
|
||||
return var;
|
||||
}
|
||||
//cerca l'indicatore di bilancio del conto;utilizzato per stabilire il campo ove sommare..
|
||||
//..i budget nella coda report
|
||||
if (strcmp(column_name, "#INDBIL") == 0)
|
||||
{
|
||||
const TString& conto = TISAM_recordset::get("CONTO").as_string();
|
||||
TAnal_bill zio(conto);
|
||||
return get_tmp_var() = (long)zio.indicatore_bilancio();
|
||||
}
|
||||
//calcola il valore e la sezione del campo budget di un conto basandosi sull'indicatore di..
|
||||
//..bilancio ed il saldo del conto (movimenti analitici di tipo preventivo)
|
||||
if (strcmp(column_name, "#PREVENTIVO") == 0)
|
||||
{
|
||||
//prende il conto
|
||||
//stessa cosa del precedente ma per movimenti di tipo variazione preventivo
|
||||
const TString& conto = TISAM_recordset::get("CONTO").as_string();
|
||||
return get_tmp_var() = get_budget(conto, 'P');
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
<report libraries="ve1300" name="ca3700a" lpi="8" class="ca3700a">
|
||||
<report libraries="ve1300" name="ca3700a" orientation="2" lpi="8" class="ca3700a">
|
||||
<description>Rendiconto CA</description>
|
||||
<font face="Courier New" size="8" />
|
||||
<section type="Head" height="5">
|
||||
@ -53,8 +53,8 @@ MESSAGE RESET,F1.102</prescript>
|
||||
<font face="Courier New" bold="1" size="8" />
|
||||
<prescript description="H1.0 PRESCRIPT">MESSAGE ISAMREAD,COMMESSE,CODCMS=#COMMESSA,ANNO</prescript>
|
||||
</field>
|
||||
<field x="140" y="3" type="Testo" width="14" pattern="1" text="Regime IVA:" />
|
||||
<field x="156" y="3" type="Stringa" width="2" pattern="1">
|
||||
<field x="140" y="3" type="Testo" width="17" pattern="1" text="Regime IVA:" />
|
||||
<field x="157" y="3" type="Stringa" width="2" pattern="1">
|
||||
<font face="Courier New" bold="1" size="8" />
|
||||
<prescript description="H1.0 PRESCRIPT">MESSAGE ISAMREAD,COMMESSE,CODCMS=#COMMESSA,REGIVA</prescript>
|
||||
</field>
|
||||
@ -72,8 +72,8 @@ MESSAGE RESET,F1.102</prescript>
|
||||
<font face="Courier New" bold="1" size="8" />
|
||||
<prescript description="H1.0 PRESCRIPT">MESSAGE ISAMREAD,COMMESSE,CODCMS=#COMMESSA,DATAINIZIO</prescript>
|
||||
</field>
|
||||
<field x="140" y="4.5" type="Testo" width="14" pattern="1" text="Da rendicontare:" />
|
||||
<field x="156" y="4.5" type="Stringa" width="1" pattern="1">
|
||||
<field x="140" y="4.5" type="Testo" width="17" pattern="1" text="Da rendicontare:" />
|
||||
<field x="157" y="4.5" type="Stringa" width="1" pattern="1">
|
||||
<font face="Courier New" bold="1" size="8" />
|
||||
<prescript description="H1.0 PRESCRIPT">MESSAGE ISAMREAD,COMMESSE,CODCMS=#COMMESSA,RENDIC</prescript>
|
||||
</field>
|
||||
@ -92,8 +92,8 @@ MESSAGE RESET,F1.102</prescript>
|
||||
<font face="Courier New" bold="1" size="8" />
|
||||
<prescript description="H1.0 PRESCRIPT">MESSAGE ISAMREAD,COMMESSE,CODCMS=#COMMESSA,DATAFINE</prescript>
|
||||
</field>
|
||||
<field x="140" y="6" type="Testo" width="14" pattern="1" text="Chiusa:" />
|
||||
<field x="156" y="6" type="Stringa" width="1" pattern="1">
|
||||
<field x="140" y="6" type="Testo" width="17" pattern="1" text="Chiusa:" />
|
||||
<field x="157" y="6" type="Stringa" width="1" pattern="1">
|
||||
<font face="Courier New" bold="1" size="8" />
|
||||
<prescript description="H1.0 PRESCRIPT">MESSAGE ISAMREAD,COMMESSE,CODCMS=#COMMESSA,CHIUSA</prescript>
|
||||
</field>
|
||||
@ -115,8 +115,8 @@ MESSAGE RESET,F1.102</prescript>
|
||||
<font face="Courier New" bold="1" size="8" />
|
||||
<prescript description="H1.0 PRESCRIPT">MESSAGE ISAMREAD,COMMESSE,CODCMS=#COMMESSA,DATAPROR</prescript>
|
||||
</field>
|
||||
<field x="140" y="7.5" type="Testo" width="14" pattern="1" text="Prorogata:" />
|
||||
<field x="156" y="7.5" type="Stringa" width="1" pattern="1">
|
||||
<field x="140" y="7.5" type="Testo" width="17" pattern="1" text="Prorogata:" />
|
||||
<field x="157" y="7.5" type="Stringa" width="1" pattern="1">
|
||||
<font face="Courier New" bold="1" size="8" />
|
||||
<prescript description="H1.0 PRESCRIPT">MESSAGE ISAMREAD,COMMESSE,CODCMS=#COMMESSA,PROROGA</prescript>
|
||||
</field>
|
||||
|
Loading…
x
Reference in New Issue
Block a user