diff --git a/www/html/aplicativo/cadastros/pesquisa/pesquisaCad.php b/www/html/aplicativo/cadastros/pesquisa/pesquisaCad.php index 215ff2e20..10db4b4a1 100644 --- a/www/html/aplicativo/cadastros/pesquisa/pesquisaCad.php +++ b/www/html/aplicativo/cadastros/pesquisa/pesquisaCad.php @@ -624,7 +624,7 @@ function __template($dados, $movimento = null)    - ' . $v['po_display'] . ') + ' . $v['po_display'] . ', ' . $v['count_opc'] . ') ' . $slc . ' %s @@ -642,7 +642,7 @@ function __template($dados, $movimento = null) '" src="imgSite/fecha16.png" width="12" height="12" border="0" align="absmiddle">testeee'; // so insere o botao de delete, se a opcao for a ultima da lista. - $table = sprintf($table, $v['count_opc'] == $v['po_display'] ? $deleteBtn : ''); + $table = sprintf($table, $v['count_opc'] == $v['po_display'] ? $deleteBtn : 'no'); } $template .= sprintf($html, $table); diff --git a/www/html/aplicativo/scriptApl/pesquisa/index.js b/www/html/aplicativo/scriptApl/pesquisa/index.js index f0166a9eb..af75e4e74 100644 --- a/www/html/aplicativo/scriptApl/pesquisa/index.js +++ b/www/html/aplicativo/scriptApl/pesquisa/index.js @@ -15,7 +15,7 @@ const buildResponse = (qst, opc) => {    ${opc}) - + `; }; @@ -308,7 +308,7 @@ $(function () { let novoEle = $( '' ); @@ -326,7 +326,7 @@ $(function () { $("#pqt_id").prop("readonly", true); $("#pqt_id").css({ "pointer-events": "none", opacity: 0.5 }); - //REMOVE O BOT�O DE DELETE + //REMOVE O BOTãO DE DELETE $("#collapse" + numEle + " #cabRota table tbody tr td:nth-child(3)").remove(); $("#collapse" + numEle) .clone() @@ -337,7 +337,7 @@ $(function () { $("#collapse" + num + " #labelRotas" + numEle).prop("id", "labelRotas" + num); $("#collapse" + num + " #labelPergunta").text(""); - //RECRIA��O DOS IDS E NAMES PARA O NOVO FORM + //RECRIAãO DOS IDS E NAMES PARA O NOVO FORM $("#box" + num + " #pq_tipo" + numEle) .prop("id", "pq_tipo" + num) @@ -405,7 +405,7 @@ $(function () { let novoEle = $( '' ); @@ -433,7 +433,7 @@ $(function () { } else { $("#addResponse" + q).show(); $("#box" + q + " #tableResponse" + q).append( - `    2) ` + `    2) ` ); } }