Corretto errore sull'anno liquidazione IVA
git-svn-id: svn://10.65.10.50/trunk@2599 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
		
							parent
							
								
									f98cfae870
								
							
						
					
					
						commit
						ef7d34c609
					
				@ -159,6 +159,8 @@ bool TParametri_ditta::preprocess_config (TMask& mask, TConfig& config)
 | 
				
			|||||||
  const bool movempty = mov.empty();
 | 
					  const bool movempty = mov.empty();
 | 
				
			||||||
  mask.enable(CHK_ANCFCM, movempty);
 | 
					  mask.enable(CHK_ANCFCM, movempty);
 | 
				
			||||||
  mask.enable(CHK_PCTCCM, movempty);
 | 
					  mask.enable(CHK_PCTCCM, movempty);
 | 
				
			||||||
 | 
					  if (mask.get(FLD_ANLIIV).empty())
 | 
				
			||||||
 | 
					    mask.set(FLD_ANLIIV, TDate(TODAY).year());
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // check auth for Saldaconto              
 | 
					  // check auth for Saldaconto              
 | 
				
			||||||
  if (!has_module(SCAUT, CHK_DONGLE))
 | 
					  if (!has_module(SCAUT, CHK_DONGLE))
 | 
				
			||||||
@ -171,6 +173,7 @@ bool TParametri_ditta::preprocess_config (TMask& mask, TConfig& config)
 | 
				
			|||||||
bool TParametri_ditta::postprocess_config(TMask& mask, TConfig& config)
 | 
					bool TParametri_ditta::postprocess_config(TMask& mask, TConfig& config)
 | 
				
			||||||
{          
 | 
					{          
 | 
				
			||||||
  check_registers(mask.get_int(FLD_ANLIIV));
 | 
					  check_registers(mask.get_int(FLD_ANLIIV));
 | 
				
			||||||
 | 
					  mask.field(FLD_ANLIIV).set_dirty(mask.get_int(FLD_ANLIIV) != config.get_int("AnLiIv"));
 | 
				
			||||||
  if (mask.get_bool(CHK_GELIDI))
 | 
					  if (mask.get_bool(CHK_GELIDI))
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
    TLocalisamfile ditte(LF_NDITTE);
 | 
					    TLocalisamfile ditte(LF_NDITTE);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user