<table id='tblItemProcedimentoRealizado' class='table_consulta'> <tr> <th>Codigo</th> <th>Procedimento</th> <th>Porte</th> <th>CH</th> <th>Porc %</th> <th>Urgencia</th> <th>Valor</th> <th>Acesso</th> <th>Tecnica</th> </tr> <?php $itens = $procExecutado->getItensProcedimento(); foreach ($itens as $item) { $codigo = $item->getId(); $procedimento = $item->getProcedimento()->getDescricao(); $porte = "1A"; $ch = "12"; $porc = $item->getPorcentagem(); $urgencia = "N"; $valor = $item->getValor(); $acesso = $item->getViaAcesso(); $tecnica = $item->getTecnica(); echo "<tr>\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t<td>{$codigo}</td>\r\n\t\t\t\t\t\t\t\t\t\t<td>{$procedimento}</td>\r\n\t\t\t\t\t\t\t\t\t\t<td>{$porte}</td>\r\n\t\t\t\t\t\t\t\t\t\t<td>{$ch}</td>\r\n\t\t\t\t\t\t\t\t\t\t<td>{$porc}</td>\r\n\t\t\t\t\t\t\t\t\t\t<td>{$urgencia}</td>\r\n\t\t\t\t\t\t\t\t\t\t<td>{$valor}</td>\r\n\t\t\t\t\t\t\t\t\t\t<td>{$acesso}</td>\r\n\t\t\t\t\t\t\t\t\t\t<td>{$tecnica}</td>\r\n\t\t\t\t\t\t\t\t\t</tr>"; } ?>