|
|
|
|
@ -99,7 +99,7 @@ public class RelatorioPrintDataProvider
|
|
|
|
|
"estabelecimentos.id", "estabelecimentos.nome",
|
|
|
|
|
"hs_relatorio.data", "marcacoes_estabelecimento.data",
|
|
|
|
|
"hs_relatorio.acompanhante1", "hs_relatorio.funcao_acompanhante1",
|
|
|
|
|
"hs_relatorio.funcionarios" },
|
|
|
|
|
"hs_relatorio.funcionarios", "estabelecimentos.morada" },
|
|
|
|
|
new Field( "hs_relatorio.id" ).isEqual( id ),
|
|
|
|
|
null,
|
|
|
|
|
null,
|
|
|
|
|
@ -118,10 +118,11 @@ public class RelatorioPrintDataProvider
|
|
|
|
|
String nomeAcompanhante = ( String ) array.get( 0, 7 );
|
|
|
|
|
String funcaoAcompanhante = ( String ) array.get( 0, 8 );
|
|
|
|
|
String textoFuncionarios = ( String ) array.get( 0, 9 );
|
|
|
|
|
String morada = ( String ) array.get( 0, 10 );
|
|
|
|
|
EmpresaToPrint empresa = new EmpresaToPrint( nomeEmpresa,
|
|
|
|
|
"http://www.evolute.pt:13080/SIPRPImages/image?id=" + logoId,
|
|
|
|
|
nomeEstabelecimento, actividadeEmpresa,
|
|
|
|
|
nomeAcompanhante, funcaoAcompanhante );
|
|
|
|
|
nomeAcompanhante, funcaoAcompanhante, morada );
|
|
|
|
|
RelatorioToPrint plano =
|
|
|
|
|
new RelatorioToPrint(
|
|
|
|
|
empresa,
|
|
|
|
|
|