Browse Source

testando

dev
Claudio.Junior 4 months ago
parent
commit
7e25b83caf
  1. 20
      www/html/aplicativo/cadastros/pesquisa/pesquisaCad.php

20
www/html/aplicativo/cadastros/pesquisa/pesquisaCad.php

@ -620,22 +620,22 @@ function __template($dados, $movimento = null)
}
// botao de excluir opcao. So sera inserido se a opção for a ultima.
$deleteBtn = $v['count_opc'] == $v['po_display'] ? '<a href="#" id="delOp_' +
$v['pq_index'] +
"|" +
$v['po_index'] +
'" ><img id="delOpc_' +
$v['pq_index'] +
"|" +
$v['po_index'] +
'" src="imgSite/fecha16.png" width="12" height="12" border="0" align="absmiddle">testeee</a>' : 'no';
$deleteBtn = $v['count_opc'] == $v['po_display'] ? '<a href="#" id="delOp_' .
$v['pq_index'] .
"|" .
$v['po_index'] .
'" ><img id="delOpc_' .
$v['pq_index'] .
"|" .
$v['po_index'] .
'" src="imgSite/fecha16.png" width="12" height="12" border="0" align="absmiddle"></a>' : 'no';
//lista de opcoes da questao
$table .= '<tr>
<td colspan="3">
&nbsp;&nbsp;
<input name="po_id[' . $countPq_id . '][' . $v['po_display'] . ']" type="number" value="' . $v['po_id'] . '" hidden="true" />
' . $v['po_display'] . ', ' . $v['count_opc'] . ') <input name="qst_tecla[' . $countPq_id . '][' . $v['po_display'] . ']" class="qst_tecla" type="number" value="' . $v['po_tecla'] . '" size="4" maxlength="2" min="0" max="999" required style="width:60px" ' . $isValid . '>
' . $v['po_display'] . ') <input name="qst_tecla[' . $countPq_id . '][' . $v['po_display'] . ']" class="qst_tecla" type="number" value="' . $v['po_tecla'] . '" size="4" maxlength="2" min="0" max="999" required style="width:60px" ' . $isValid . '>
<input name="qst_descricao[' . $countPq_id . '][' . $v['po_display'] . ']" type="text" value="' . $v['po_opcao'] . '" title="Descreva aqui a opção" size="50" style="width:360px" maxlength="60" ' . $isValid . ' required>
' . $slc . $deleteBtn . '
</td>

Loading…
Cancel
Save