Commit 68336674 authored by alinetenorio's avatar alinetenorio
Browse files

consertando erro ao não adicionar plano de trabalho

parent 971e04b7
...@@ -121,7 +121,7 @@ class TrabalhoController extends Controller ...@@ -121,7 +121,7 @@ class TrabalhoController extends Controller
'justificativaAutorizacaoEtica' => [($request->anexoJustificativaPreenchido!=='sim'&&$request->anexoComitePreenchido!=='sim'?'required_without:anexoComiteEtica':''), 'file', 'mimes:pdf', 'max:2000000'], 'justificativaAutorizacaoEtica' => [($request->anexoJustificativaPreenchido!=='sim'&&$request->anexoComitePreenchido!=='sim'?'required_without:anexoComiteEtica':''), 'file', 'mimes:pdf', 'max:2000000'],
'anexoLattesCoordenador' => [($request->anexoLattesPreenchido!=='sim'?'required':''), 'file', 'mimes:pdf', 'max:2000000'], 'anexoLattesCoordenador' => [($request->anexoLattesPreenchido!=='sim'?'required':''), 'file', 'mimes:pdf', 'max:2000000'],
'anexoPlanilha' => [($request->anexoPlanilhaPreenchido!=='sim'?'required':''), 'file', 'mimes:pdf', 'max:2000000'], 'anexoPlanilha' => [($request->anexoPlanilhaPreenchido!=='sim'?'required':''), 'file', 'mimes:pdf', 'max:2000000'],
'anexoPlanoTrabalho.*' => ['required', 'file', 'mimes:pdf', 'max:2000000'], 'anexoPlanoTrabalho.*' => ['nullable', 'file', 'mimes:pdf', 'max:2000000'],
]); ]);
//dd($request->all()); //dd($request->all());
......
...@@ -27,7 +27,7 @@ class ProponenteSeeder extends Seeder ...@@ -27,7 +27,7 @@ class ProponenteSeeder extends Seeder
'areaFormacao' => '123123123', 'areaFormacao' => '123123123',
'bolsistaProdutividade' => '123123123', 'bolsistaProdutividade' => '123123123',
'nivel' => '123123123', 'nivel' => '123123123',
'linkLattes' => '123123123', 'linkLattes' => 'http://lattes.cnpq.br/8363536830656923',
'created_at' => '2020-01-01 00:00:00' 'created_at' => '2020-01-01 00:00:00'
]); ]);
...@@ -46,7 +46,7 @@ class ProponenteSeeder extends Seeder ...@@ -46,7 +46,7 @@ class ProponenteSeeder extends Seeder
'areaFormacao' => '123123123', 'areaFormacao' => '123123123',
'bolsistaProdutividade' => '123123123', 'bolsistaProdutividade' => '123123123',
'nivel' => '123123123', 'nivel' => '123123123',
'linkLattes' => '123123123', 'linkLattes' => 'http://lattes.cnpq.br/8363536830656923',
'created_at' => '2020-01-01 00:00:00' 'created_at' => '2020-01-01 00:00:00'
]); ]);
......
...@@ -587,7 +587,7 @@ ...@@ -587,7 +587,7 @@
"<div class="+"row"+">"+ "<div class="+"row"+">"+
"<div class="+"col-sm-4"+">"+ "<div class="+"col-sm-4"+">"+
"<label>Titulo*</label>"+ "<label>Titulo*</label>"+
"<input"+" type="+'text'+" style="+"margin-bottom:10px"+" class="+"form-control @error('nomePlanoTrabalho') is-invalid @enderror"+" name="+'nomePlanoTrabalho[]'+" placeholder="+"Nome"+" required>"+ "<input"+" type="+'text'+" style="+"margin-bottom:10px"+" class="+"form-control @error('nomePlanoTrabalho') is-invalid @enderror"+" name="+'nomePlanoTrabalho[]'+" placeholder="+"Nome"+">"+
"@error('nomePlanoTrabalho')" + "@error('nomePlanoTrabalho')" +
"<span class='invalid-feedback'" + "role='alert'" + "style='overflow: visible; display:block'>" + "<span class='invalid-feedback'" + "role='alert'" + "style='overflow: visible; display:block'>" +
"<strong>{{ $message }}</strong>" + "<strong>{{ $message }}</strong>" +
......
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