Patch level :
Files correlati : Ricompilazione Demo : [ ] Commento : Corretta stampa git-svn-id: svn://10.65.10.50/branches/R_10_00@22474 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
		
							parent
							
								
									1829157e18
								
							
						
					
					
						commit
						5ca90964fd
					
				| @ -1082,6 +1082,27 @@ bool TDati_rilevanti_rep::get_usr_val(const TString& name, TVariant& var) const | ||||
|     } | ||||
|     return true; | ||||
|   } | ||||
|   if (name == "MODPAG") | ||||
|   { | ||||
|     switch (tipo) | ||||
|     { | ||||
|     case  1: var = set.get("1.4");  break; | ||||
|     case  2: var = set.get("2.5");  break; | ||||
|     case  3: var = set.get("3.14");  break; | ||||
|     default: var.set_null();        break; | ||||
|     } | ||||
|     return true; | ||||
|   } | ||||
|   if (name == "TIPOPE") | ||||
|   { | ||||
|     switch (tipo) | ||||
|     { | ||||
|     case  2: var = set.get("2.8");  break; | ||||
|     case  3: var = set.get("3.17"); break; | ||||
|     default: var.set_null();        break; | ||||
|     } | ||||
|     return true; | ||||
|   } | ||||
| 
 | ||||
| 
 | ||||
|   return TReport::get_usr_val(name, var); | ||||
| @ -1657,8 +1678,6 @@ bool TDati_rilevanti_msk::send_nota_variazione(const TRectype& alleg, TDati_rile | ||||
|   if (!anag.ok()) | ||||
|     return false; | ||||
| 
 | ||||
|   operaz.set_ragsoc(anag.ragione_sociale()); | ||||
| 
 | ||||
|   const char tipocf = alleg.get_char(ALL_TIPOCF); | ||||
|   char segno_imponibile = tipocf == 'C' ? 'D' : 'C'; // Normalmente sono negative e quindi a debito del dichiarante
 | ||||
|   char segno_imposta = segno_imponibile; | ||||
| @ -1717,6 +1736,7 @@ bool TDati_rilevanti_msk::send_nota_variazione(const TRectype& alleg, TDati_rile | ||||
|     operaz.set(10, segno_imponibile); | ||||
|     operaz.set(11, segno_imposta); | ||||
|   }     | ||||
|   operaz.set_ragsoc(anag.ragione_sociale()); | ||||
| 
 | ||||
|   return true; | ||||
| } | ||||
| @ -1732,8 +1752,6 @@ bool TDati_rilevanti_msk::send_fatt(const TRectype& alleg, TDati_rilevanti_set& | ||||
|   if (!anag.ok()) | ||||
|     return false; | ||||
| 
 | ||||
|   operaz.set_ragsoc(anag.ragione_sociale()); | ||||
| 
 | ||||
|   const TString& paiv = anag.partita_IVA(); | ||||
| 
 | ||||
|   if (anag.stato_estero() > 0) | ||||
| @ -1787,7 +1805,9 @@ bool TDati_rilevanti_msk::send_fatt(const TRectype& alleg, TDati_rilevanti_set& | ||||
|       operaz.set(8, alleg.get(ALL_TIPOPE)); | ||||
|     } | ||||
|   }     | ||||
|   return false; | ||||
|   operaz.set_ragsoc(anag.ragione_sociale()); | ||||
| 
 | ||||
|   return true; | ||||
| } | ||||
| 
 | ||||
| bool TDati_rilevanti_msk::send_rec(const TRectype& alleg, TDati_rilevanti_set& operaz) | ||||
| @ -1874,6 +1894,7 @@ bool TDati_rilevanti_msk::send_alleg() | ||||
|         note.destroy(); | ||||
|         last_clifo = clifo; | ||||
|       } | ||||
|    | ||||
|       if (is_nota_variazione(rec)) | ||||
|         note.add(rec); | ||||
|       else | ||||
|  | ||||
| @ -56,7 +56,7 @@ | ||||
|   <field x="20" y="0.5" type="Stringa" width="25" height="2" id="201" pattern="1"> | ||||
|    <source>RAGSOC</source> | ||||
|   </field> | ||||
|   <field x="47" y="0.5" type="Data" width="10" id="301" pattern="1"> | ||||
|   <field x="47" y="0.5" type="Data" width="11" id="301" pattern="1"> | ||||
|    <source>DATAREG</source> | ||||
|   </field> | ||||
|   <field x="47" y="1.5" type="Stringa" width="10" id="302" pattern="1"> | ||||
| @ -65,6 +65,7 @@ | ||||
|   <field x="59" y="0.5" type="Array" width="16" id="401" pattern="1"> | ||||
|    <source>MODPAG</source> | ||||
|    <list> | ||||
|     <li Value="" Code="" /> | ||||
|     <li Value="Non Frazionato" Code="1" /> | ||||
|     <li Value="Frazionato" Code="2" /> | ||||
|     <li Value="Periodico" Code="3" /> | ||||
| @ -73,6 +74,7 @@ | ||||
|   <field x="59" y="1.5" type="Array" width="16" id="402" pattern="1"> | ||||
|    <source>TIPOPE</source> | ||||
|    <list> | ||||
|     <li Value="" Code="" /> | ||||
|     <li Value="Vendita" Code="1" /> | ||||
|     <li Value="Acquisto" Code="2" /> | ||||
|    </list> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user