Ultime merdaglie arrotondamento
git-svn-id: svn://10.65.10.50/trunk@2508 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
		
							parent
							
								
									ca24f37ef5
								
							
						
					
					
						commit
						742f63f07a
					
				@ -708,12 +708,13 @@ word TPagamento::validate() const
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
    tot.round(_round);
 | 
			
		||||
    // serve per fatture in valuta, onde evitare cazzi e canguri
 | 
			
		||||
    real tmax = _firstr + _secndr; 
 | 
			
		||||
    tmax.round(_round);
 | 
			
		||||
     
 | 
			
		||||
    if (tot != _firstr+_secndr)
 | 
			
		||||
    if (tot != tmax)
 | 
			
		||||
      res |= P_TOTNC;                          
 | 
			
		||||
  
 | 
			
		||||
 | 
			
		||||
  
 | 
			
		||||
    // check errori date scadenze (se istanziate)
 | 
			
		||||
    TDate d(data_rata(0));
 | 
			
		||||
    if (d < _datadoc)  // _inizio
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user