Patch level : 12.0 378
Files correlati : ve Commento : Sistemato controllo in read_lettera per le dichiarazioni di tipo 2, adesso anche loro hanno valorizzato il campo DAL quindi leggo quello e non la data di registrazione della lettera git-svn-id: svn://10.65.10.50/branches/R_10_00@23726 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
		
							parent
							
								
									37bef158ec
								
							
						
					
					
						commit
						51ab2a2134
					
				@ -95,6 +95,20 @@ bool TCli_for::read_lettera(const TDate& data, bool extended)
 | 
				
			|||||||
						dal = c.curr().get_date(LETINT_DAL);
 | 
											dal = c.curr().get_date(LETINT_DAL);
 | 
				
			||||||
						al = c.curr().get_date(LETINT_AL);
 | 
											al = c.curr().get_date(LETINT_AL);
 | 
				
			||||||
					}
 | 
										}
 | 
				
			||||||
 | 
										else if(tipo == 2)
 | 
				
			||||||
 | 
										{
 | 
				
			||||||
 | 
											dal = c.curr().get_date(LETINT_DAL);
 | 
				
			||||||
 | 
											if (c.pos() < items - 1)
 | 
				
			||||||
 | 
											{
 | 
				
			||||||
 | 
												++c;
 | 
				
			||||||
 | 
												const int tipo_next = c.curr().get_int(LETINT_TIPOOP);
 | 
				
			||||||
 | 
												if (tipo_next == 3 || tipo_next == 2)
 | 
				
			||||||
 | 
													al = c.curr().get_date(LETINT_DAL);
 | 
				
			||||||
 | 
												else
 | 
				
			||||||
 | 
													al = c.curr().get_date(LETINT_VSDATA);
 | 
				
			||||||
 | 
												--c;
 | 
				
			||||||
 | 
											}
 | 
				
			||||||
 | 
										}
 | 
				
			||||||
					else
 | 
										else
 | 
				
			||||||
					{
 | 
										{
 | 
				
			||||||
						dal = c.curr().get_date(LETINT_VSDATA);
 | 
											dal = c.curr().get_date(LETINT_VSDATA);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user