Ejemplo n.º 1
0
								title: 'Novo Plano'
							});

							
							
							
						</script>
						
						<table class='table_consulta' id='tablePlanosConvenio'>
							<tr>
								<th>Descri&ccedil;&atilde;o</th>
								<th>Valor CH</th>
							</tr>
							<?php 
$tr = "";
$it = $convenio->getPlanos()->getIterator();
$index = 0;
while ($it->valid()) {
    $plano = $it->current();
    $nomePlano = $plano->getDescricaoPlano();
    $valorCh = $plano->getValorCh();
    $tr .= "<tr class='trPlanosConvenio' index='{$index}'>";
    $tr .= "<td name='tdNomePlano' >" . $nomePlano . "</td>";
    $tr .= "<td name='tdValorChPlano' >" . $valorCh . "</td>";
    $tr .= "<input type='hidden' value='" . $plano->getId() . "' name='hidIdPlano' />";
    $tr .= "</tr>";
    $it->next();
    $index++;
}
echo $tr;
?>