Patch level :10.0 868
Files correlati :ve0.exe Ricompilazione Demo : [ ] Commento : git-svn-id: svn://10.65.10.50/trunk@16052 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
		
							parent
							
								
									1cae1f83a7
								
							
						
					
					
						commit
						56f99c8481
					
				@ -2633,12 +2633,15 @@ void TElabora_mask::update_ndoc_filter(bool is_tipo_elaborazione)
 | 
			
		||||
		if (aggiungi_doc_att)
 | 
			
		||||
		{
 | 
			
		||||
      bool agg_test = e->aggiorna_testata_se_vuoto();
 | 
			
		||||
      int nrighe = _main->doc().physical_rows();
 | 
			
		||||
 | 
			
		||||
      for (int i = nrighe; i >= 1; i--)
 | 
			
		||||
        if (_main->doc()[i].is_generata())
 | 
			
		||||
          nrighe--;
 | 
			
		||||
      agg_test &= nrighe == 0;
 | 
			
		||||
			if (agg_test)
 | 
			
		||||
			{
 | 
			
		||||
				const int nrighe = _main->doc().physical_rows();
 | 
			
		||||
 | 
			
		||||
				for (int i = 1;agg_test && i <= nrighe; i++)
 | 
			
		||||
					if (!_main->doc()[i].is_generata())
 | 
			
		||||
						agg_test = false;
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			set(F_UPDATE_HEADER, agg_test ? "X" : "");
 | 
			
		||||
			const TString8 num_in = e->codice_numerazione_iniziale(); 
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user