Patch level : 12.00 1270
Files correlati : cg4.exe Commento : IL credito dii fine anno veniva sommato male
This commit is contained in:
		
							parent
							
								
									77790dd3fd
								
							
						
					
					
						commit
						84997f63c3
					
				@ -660,11 +660,14 @@ bool TPrimanota_application::cg_handler(TMask_field& f, KEY k)
 | 
				
			|||||||
      if (!importo.is_zero())
 | 
					      if (!importo.is_zero())
 | 
				
			||||||
      {
 | 
					      {
 | 
				
			||||||
        TBill c(r, 2, 0x1);
 | 
					        TBill c(r, 2, 0x1);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (!c.ok()) 
 | 
					        if (!c.ok()) 
 | 
				
			||||||
          return f.error_box(FR("Il conto della riga %d non è completo"), i+1);
 | 
					          return f.error_box(FR("Il conto della riga %d non è completo"), i+1);
 | 
				
			||||||
        if (m.insert_mode() && c.sospeso()) 
 | 
					        if (m.insert_mode() && c.sospeso()) 
 | 
				
			||||||
          return f.error_box(FR("Il conto della riga %d è sospeso"), i+1);
 | 
					          return f.error_box(FR("Il conto della riga %d è sospeso"), i+1);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        TBill co(r, 9, 0x1);
 | 
					        TBill co(r, 9, 0x1);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (!co.empty() && !co.ok()) 
 | 
					        if (!co.empty() && !co.ok()) 
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
          const bool ok = f.yesno_box(FR("La contropartita della riga %d non è completa:\n"
 | 
					          const bool ok = f.yesno_box(FR("La contropartita della riga %d non è completa:\n"
 | 
				
			||||||
 | 
				
			|||||||
@ -2429,7 +2429,7 @@ void TLiquidazione_app::set_grand_2000(_DescrItem& d, int &rw)
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if (_month == 13)
 | 
					  if (_month == 13)
 | 
				
			||||||
		cre_deb_per += versamenti + TLiquidazione_app::credito_utilizzato_IVA(13);
 | 
							cre_deb_per += versamenti - TLiquidazione_app::credito_utilizzato_IVA(13);
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  print_importo(rw++, TR("IVA dovuta o a credito per il periodo"), cre_deb_per + corr_acc);
 | 
					  print_importo(rw++, TR("IVA dovuta o a credito per il periodo"), cre_deb_per + corr_acc);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -1,4 +0,0 @@
 | 
				
			|||||||
<?xml version="1.0" encoding="UTF-8" ?>
 | 
					 | 
				
			||||||
<FileDesc>
 | 
					 | 
				
			||||||
 <DirInfo Name="$occas" File="18" EOD="4" EOX="4" Des="Clienti occasionali" Com="" Flags="" Len="607" />
 | 
					 | 
				
			||||||
</FileDesc>
 | 
					 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user