Commit 65202c2e authored by Guilherme Silva's avatar Guilherme Silva
Browse files

Correção de textos

parent f95c6670
...@@ -1465,7 +1465,7 @@ class TrabalhoController extends Controller ...@@ -1465,7 +1465,7 @@ class TrabalhoController extends Controller
$substituicao = new Substituicao(); $substituicao = new Substituicao();
$substituicao->observacao = $request->textObservacao; $substituicao->observacao = $request->textObservacao;
if($participanteSubstituido->data_saida <= $request->data_entrada){ if($participanteSubstituido->data_saida <= $request->data_entrada){
return redirect(route('trabalho.trocaParticipante', ['evento_id' => $evento->id, 'projeto_id' => $trabalho->id]))->with(['erro' => "Escolha uma data de entrada posterior a entrada do discente substituido"]); return redirect(route('trabalho.trocaParticipante', ['evento_id' => $evento->id, 'projeto_id' => $trabalho->id]))->with(['erro' => "Escolha uma data de entrada posterior a entrada do discente substituído"]);
} }
$participanteSubstituido->data_saida = $request->data_entrada; $participanteSubstituido->data_saida = $request->data_entrada;
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<div style="margin-top: 20px"> <div style="margin-top: 20px">
<div class="card-header"> <div class="card-header">
<h5 class="card-title" style= "color:#1492E6"> <h5 class="card-title" style= "color:#1492E6">
Nome/Periodo Nome/Período
</h5> </h5>
</div> </div>
<div class="card-body"> <div class="card-body">
......
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
function gerarPeriodo(e){ function gerarPeriodo(e){
var select = e.parentElement.parentElement.nextElementSibling; var select = e.parentElement.parentElement.nextElementSibling;
selectPeriodos = select.children[0].children[1]; selectPeriodos = select.children[0].children[1];
var html = `<option value="" disabled selected>-- TOTAL DE PERIODOS --</option>`; var html = `<option value="" disabled selected>-- TOTAL DE PERÍODOS --</option>`;
for(var i = 0; i < parseInt(e.value); i++) { for(var i = 0; i < parseInt(e.value); i++) {
html += `<option value="${i+1}">${i+1}º</option>`; html += `<option value="${i+1}">${i+1}º</option>`;
} }
......
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
function gerarPeriodo(e){ function gerarPeriodo(e){
var select = e.parentElement.parentElement.nextElementSibling; var select = e.parentElement.parentElement.nextElementSibling;
selectPeriodos = select.children[0].children[1]; selectPeriodos = select.children[0].children[1];
var html = `<option value="" disabled selected>-- TOTAL DE PERIODOS --</option>`; var html = `<option value="" disabled selected>-- TOTAL DE PERÍODOS --</option>`;
for(var i = 0; i < parseInt(e.value); i++) { for(var i = 0; i < parseInt(e.value); i++) {
html += `<option value="${i+1}">${i+1}º</option>`; html += `<option value="${i+1}">${i+1}º</option>`;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment