|  |  | @ -2517,7 +2517,7 @@ public class ViewAnaliseAcidenteTrabalho extends AbstractPageBean { | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         catch ( Exception ex ) |  |  |  |         catch ( Exception ex ) | 
			
		
	
		
		
			
				
					
					|  |  |  | 		{ |  |  |  | 		{ | 
			
		
	
		
		
			
				
					
					|  |  |  | 			ErrorLogger.logException( ex ); |  |  |  | //			ErrorLogger.logException( ex );
 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 		} |  |  |  | 		} | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |      |  |  |  |      | 
			
		
	
	
		
		
			
				
					|  |  | @ -2557,7 +2557,7 @@ public class ViewAnaliseAcidenteTrabalho extends AbstractPageBean { | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         catch ( Exception ex ) |  |  |  |         catch ( Exception ex ) | 
			
		
	
		
		
			
				
					
					|  |  |  | 		{ |  |  |  | 		{ | 
			
		
	
		
		
			
				
					
					|  |  |  | 			ErrorLogger.logException( ex ); |  |  |  | //			ErrorLogger.logException( ex );
 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 		} |  |  |  | 		} | 
			
		
	
		
		
			
				
					
					|  |  |  |         stBI.setText(a.getBilhete_identidade()); |  |  |  |         stBI.setText(a.getBilhete_identidade()); | 
			
		
	
		
		
			
				
					
					|  |  |  |         stMorada.setText(a.getMorada()); |  |  |  |         stMorada.setText(a.getMorada()); | 
			
		
	
	
		
		
			
				
					|  |  | @ -2567,12 +2567,18 @@ public class ViewAnaliseAcidenteTrabalho extends AbstractPageBean { | 
			
		
	
		
		
			
				
					
					|  |  |  |         { |  |  |  |         { | 
			
		
	
		
		
			
				
					
					|  |  |  |             cod_postal1 = a.getCod_postal().substring(0, 4);             |  |  |  |             cod_postal1 = a.getCod_postal().substring(0, 4);             | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         catch(Exception ex){} |  |  |  |         catch(Exception ex) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		{ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		} | 
			
		
	
		
		
			
				
					
					|  |  |  |         try |  |  |  |         try | 
			
		
	
		
		
			
				
					
					|  |  |  |         { |  |  |  |         { | 
			
		
	
		
		
			
				
					
					|  |  |  |             cod_postal2 = a.getCod_postal().substring(5, 8);         |  |  |  |             cod_postal2 = a.getCod_postal().substring(5, 8);         | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         catch(Exception ex){}         |  |  |  |         catch(Exception ex) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		{ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		} | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         //String cod_postal1 = a.getCod_postal().substring(0, 4);
 |  |  |  |         //String cod_postal1 = a.getCod_postal().substring(0, 4);
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         //String cod_postal2 = a.getCod_postal().substring(5, 8);        
 |  |  |  |         //String cod_postal2 = a.getCod_postal().substring(5, 8);        
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -2587,7 +2593,7 @@ public class ViewAnaliseAcidenteTrabalho extends AbstractPageBean { | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         catch(Exception ex) |  |  |  |         catch(Exception ex) | 
			
		
	
		
		
			
				
					
					|  |  |  | 		{ |  |  |  | 		{ | 
			
		
	
		
		
			
				
					
					|  |  |  | 			ErrorLogger.logException( ex ); |  |  |  | //			ErrorLogger.logException( ex );
 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 		} |  |  |  | 		} | 
			
		
	
		
		
			
				
					
					|  |  |  |         stFuncao.setText(a.getFuncao()); |  |  |  |         stFuncao.setText(a.getFuncao()); | 
			
		
	
		
		
			
				
					
					|  |  |  |         String turno_str =  ""; |  |  |  |         String turno_str =  ""; | 
			
		
	
	
		
		
			
				
					|  |  | @ -3553,7 +3559,7 @@ public class ViewAnaliseAcidenteTrabalho extends AbstractPageBean { | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |             catch(Exception ex) |  |  |  |             catch(Exception ex) | 
			
		
	
		
		
			
				
					
					|  |  |  | 			{ |  |  |  | 			{ | 
			
		
	
		
		
			
				
					
					|  |  |  | 				ErrorLogger.logException( ex ); |  |  |  | //				ErrorLogger.logException( ex );
 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 			} |  |  |  | 			} | 
			
		
	
		
		
			
				
					
					|  |  |  |             pg.getChildren().add(st);                     |  |  |  |             pg.getChildren().add(st);                     | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
	
		
		
			
				
					|  |  | @ -3578,7 +3584,7 @@ public class ViewAnaliseAcidenteTrabalho extends AbstractPageBean { | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |             catch(Exception ex) |  |  |  |             catch(Exception ex) | 
			
		
	
		
		
			
				
					
					|  |  |  | 			{ |  |  |  | 			{ | 
			
		
	
		
		
			
				
					
					|  |  |  | 				ErrorLogger.logException( ex ); |  |  |  | //				ErrorLogger.logException( ex );
 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 			} |  |  |  | 			} | 
			
		
	
		
		
			
				
					
					|  |  |  |             pg.getChildren().add(st);                        |  |  |  |             pg.getChildren().add(st);                        | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
	
		
		
			
				
					|  |  | @ -3609,7 +3615,7 @@ public class ViewAnaliseAcidenteTrabalho extends AbstractPageBean { | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |             catch(Exception ex) |  |  |  |             catch(Exception ex) | 
			
		
	
		
		
			
				
					
					|  |  |  | 			{ |  |  |  | 			{ | 
			
		
	
		
		
			
				
					
					|  |  |  | 				ErrorLogger.logException( ex ); |  |  |  | //				ErrorLogger.logException( ex );
 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 			} |  |  |  | 			} | 
			
		
	
		
		
			
				
					
					|  |  |  |             pg.getChildren().add(st); |  |  |  |             pg.getChildren().add(st); | 
			
		
	
		
		
			
				
					
					|  |  |  |             st = new StaticText(); |  |  |  |             st = new StaticText(); | 
			
		
	
	
		
		
			
				
					|  |  | @ -3629,7 +3635,7 @@ public class ViewAnaliseAcidenteTrabalho extends AbstractPageBean { | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |             catch(Exception ex) |  |  |  |             catch(Exception ex) | 
			
		
	
		
		
			
				
					
					|  |  |  | 			{ |  |  |  | 			{ | 
			
		
	
		
		
			
				
					
					|  |  |  | 				ErrorLogger.logException( ex ); |  |  |  | //				ErrorLogger.logException( ex );
 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 			} |  |  |  | 			} | 
			
		
	
		
		
			
				
					
					|  |  |  |             pg.getChildren().add(st);         |  |  |  |             pg.getChildren().add(st);         | 
			
		
	
		
		
			
				
					
					|  |  |  |             gridIncapacidade.getChildren().add(pg);             |  |  |  |             gridIncapacidade.getChildren().add(pg);             | 
			
		
	
	
		
		
			
				
					|  |  | @ -4210,7 +4216,7 @@ public class ViewAnaliseAcidenteTrabalho extends AbstractPageBean { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 }   |  |  |  |                 }   | 
			
		
	
		
		
			
				
					
					|  |  |  |                 catch(Exception ex) |  |  |  |                 catch(Exception ex) | 
			
		
	
		
		
			
				
					
					|  |  |  | 				{ |  |  |  | 				{ | 
			
		
	
		
		
			
				
					
					|  |  |  | 					ErrorLogger.logException( ex ); |  |  |  | //					ErrorLogger.logException( ex );
 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 				} |  |  |  | 				} | 
			
		
	
		
		
			
				
					
					|  |  |  |                 st.setText(txtVer); |  |  |  |                 st.setText(txtVer); | 
			
		
	
		
		
			
				
					
					|  |  |  |                 gridAssinaturasView.getChildren().add(st); |  |  |  |                 gridAssinaturasView.getChildren().add(st); | 
			
		
	
	
		
		
			
				
					|  |  | @ -4231,7 +4237,7 @@ public class ViewAnaliseAcidenteTrabalho extends AbstractPageBean { | 
			
		
	
		
		
			
				
					
					|  |  |  |             }   |  |  |  |             }   | 
			
		
	
		
		
			
				
					
					|  |  |  |             catch(Exception ex) |  |  |  |             catch(Exception ex) | 
			
		
	
		
		
			
				
					
					|  |  |  | 			{ |  |  |  | 			{ | 
			
		
	
		
		
			
				
					
					|  |  |  | 				ErrorLogger.logException( ex ); |  |  |  | //				ErrorLogger.logException( ex );
 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 			} |  |  |  | 			} | 
			
		
	
		
		
			
				
					
					|  |  |  |             st.setText(txtVer);   |  |  |  |             st.setText(txtVer);   | 
			
		
	
		
		
			
				
					
					|  |  |  |             gridAssinaturasView.getChildren().add(st);                                 |  |  |  |             gridAssinaturasView.getChildren().add(st);                                 | 
			
		
	
	
		
		
			
				
					|  |  | @ -4251,7 +4257,7 @@ public class ViewAnaliseAcidenteTrabalho extends AbstractPageBean { | 
			
		
	
		
		
			
				
					
					|  |  |  |             }   |  |  |  |             }   | 
			
		
	
		
		
			
				
					
					|  |  |  |             catch(Exception ex) |  |  |  |             catch(Exception ex) | 
			
		
	
		
		
			
				
					
					|  |  |  | 			{ |  |  |  | 			{ | 
			
		
	
		
		
			
				
					
					|  |  |  | 				ErrorLogger.logException( ex ); |  |  |  | //				ErrorLogger.logException( ex );
 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 			} |  |  |  | 			} | 
			
		
	
		
		
			
				
					
					|  |  |  |             st.setText(txtVer);   |  |  |  |             st.setText(txtVer);   | 
			
		
	
		
		
			
				
					
					|  |  |  |             gridAssinaturasView.getChildren().add(st);                     |  |  |  |             gridAssinaturasView.getChildren().add(st);                     | 
			
		
	
	
		
		
			
				
					|  |  | @ -4271,7 +4277,7 @@ public class ViewAnaliseAcidenteTrabalho extends AbstractPageBean { | 
			
		
	
		
		
			
				
					
					|  |  |  |             }   |  |  |  |             }   | 
			
		
	
		
		
			
				
					
					|  |  |  |             catch(Exception ex) |  |  |  |             catch(Exception ex) | 
			
		
	
		
		
			
				
					
					|  |  |  | 			{ |  |  |  | 			{ | 
			
		
	
		
		
			
				
					
					|  |  |  | 				ErrorLogger.logException( ex ); |  |  |  | //				ErrorLogger.logException( ex );
 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 			} |  |  |  | 			} | 
			
		
	
		
		
			
				
					
					|  |  |  |             st.setText(txtVer);   |  |  |  |             st.setText(txtVer);   | 
			
		
	
		
		
			
				
					
					|  |  |  |             gridAssinaturasView.getChildren().add(st);         |  |  |  |             gridAssinaturasView.getChildren().add(st);         | 
			
		
	
	
		
		
			
				
					|  |  | @ -4301,7 +4307,7 @@ public class ViewAnaliseAcidenteTrabalho extends AbstractPageBean { | 
			
		
	
		
		
			
				
					
					|  |  |  |                             }   |  |  |  |                             }   | 
			
		
	
		
		
			
				
					
					|  |  |  |                             catch(Exception ex) |  |  |  |                             catch(Exception ex) | 
			
		
	
		
		
			
				
					
					|  |  |  | 							{ |  |  |  | 							{ | 
			
		
	
		
		
			
				
					
					|  |  |  | 								ErrorLogger.logException( ex ); |  |  |  | //								ErrorLogger.logException( ex );
 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 							} |  |  |  | 							} | 
			
		
	
		
		
			
				
					
					|  |  |  |                         } |  |  |  |                         } | 
			
		
	
		
		
			
				
					
					|  |  |  |                     } |  |  |  |                     } | 
			
		
	
	
		
		
			
				
					|  |  | @ -4342,7 +4348,7 @@ public class ViewAnaliseAcidenteTrabalho extends AbstractPageBean { | 
			
		
	
		
		
			
				
					
					|  |  |  |         }   |  |  |  |         }   | 
			
		
	
		
		
			
				
					
					|  |  |  |         catch(Exception ex) |  |  |  |         catch(Exception ex) | 
			
		
	
		
		
			
				
					
					|  |  |  | 		{ |  |  |  | 		{ | 
			
		
	
		
		
			
				
					
					|  |  |  | 			ErrorLogger.logException( ex ); |  |  |  | //			ErrorLogger.logException( ex );
 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 		} |  |  |  | 		} | 
			
		
	
		
		
			
				
					
					|  |  |  |          |  |  |  |          | 
			
		
	
		
		
			
				
					
					|  |  |  |         String txt = "Assinado na Ficha de Análise de Acidente em papel por " + a.getNome_superior() + ", superior hierárquico / superior de "; |  |  |  |         String txt = "Assinado na Ficha de Análise de Acidente em papel por " + a.getNome_superior() + ", superior hierárquico / superior de "; | 
			
		
	
	
		
		
			
				
					|  |  | 
 |