Commit 0d84ba50 authored by Carlos André's avatar Carlos André
Browse files

o proponente pode não ser o coordenador do projeto

parent a1c0925d
...@@ -100,7 +100,7 @@ class TrabalhoController extends Controller ...@@ -100,7 +100,7 @@ class TrabalhoController extends Controller
return redirect()->route('home'); return redirect()->route('home');
} }
} }
//--Salvando os dados da submissão temporariamente //--Salvando os dados da submissão temporariamente
$trabalho = $this->armazenarInfoTemp($request, $proponente); $trabalho = $this->armazenarInfoTemp($request, $proponente);
...@@ -175,7 +175,7 @@ class TrabalhoController extends Controller ...@@ -175,7 +175,7 @@ class TrabalhoController extends Controller
'nomePlanoTrabalho.*' => ['nullable', 'string'], 'nomePlanoTrabalho.*' => ['nullable', 'string'],
'anexoProjeto' => [($request->anexoProjetoPreenchido!=='sim'?'required':''), 'file', 'mimes:pdf', 'max:2048'], 'anexoProjeto' => [($request->anexoProjetoPreenchido!=='sim'?'required':''), 'file', 'mimes:pdf', 'max:2048'],
'anexoLattesCoordenador' => [($request->anexoLattesPreenchido!=='sim'?'required':''), 'file', 'mimes:pdf', 'max:2048'], 'anexoLattesCoordenador' => [($request->anexoLattesPreenchido!=='sim'?'required':''), 'file', 'mimes:pdf', 'max:2048'],
'anexoPlanilha' => [($request->anexoPlanilhaPreenchido!=='sim'?'required':''), 'file', 'mimes:pdf,xls,xlsx', 'max:2048'], 'anexoPlanilha' => [($request->anexoPlanilhaPreenchido!=='sim'?'required':''), 'file', 'mimes:xls,xlsx,ods', 'max:2048'],
'anexoPlanoTrabalho.*' => ['nullable', 'file', 'mimes:pdf', 'max:2048'], 'anexoPlanoTrabalho.*' => ['nullable', 'file', 'mimes:pdf', 'max:2048'],
]); ]);
......
...@@ -89,13 +89,13 @@ ...@@ -89,13 +89,13 @@
</div> </div>
<hr> <hr>
<h3>Coordenador</h3> <h3>Proponente</h3>
{{-- Coordenador --}} {{-- Coordenador --}}
<div class="row justify-content-center"> <div class="row justify-content-center">
<div class="col-sm-6"> <div class="col-sm-6">
<label for="nomeCoordenador" class="col-form-label">{{ __('Coordenador:') }}</label> <label for="nomeCoordenador" class="col-form-label">{{ __('Proponente:') }}</label>
<input class="form-control" type="text" id="nomeCoordenador" name="nomeCoordenador" disabled="disabled" value="{{ Auth()->user()->name }}"> <input class="form-control" type="text" id="nomeCoordenador" name="nomeCoordenador" disabled="disabled" value="{{ Auth()->user()->name }}">
</div> </div>
<div class="col-sm-6"> <div class="col-sm-6">
......
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