Commit e58a12bf authored by Carlos André's avatar Carlos André
Browse files

anexo grupo pesquisa

parent d3da97ab
...@@ -427,6 +427,11 @@ class TrabalhoController extends Controller ...@@ -427,6 +427,11 @@ class TrabalhoController extends Controller
$trabalho->anexoPlanilhaPontuacao = Storage::putFileAs($pasta, $request->anexoPlanilha, "Planilha.". $request->file('anexoPlanilha')->extension()); $trabalho->anexoPlanilhaPontuacao = Storage::putFileAs($pasta, $request->anexoPlanilha, "Planilha.". $request->file('anexoPlanilha')->extension());
} }
// Anexo grupo pesquisa
if(isset($request->grupoPesquisa)){
$trabalho->anexoGrupoPesquisa = Storage::putFileAs($pasta, $request->anexoPlanilha, "Grupo_de_pesquisa.". $request->file('grupoPesquisa')->extension());
}
$trabalho->update(); $trabalho->update();
return $trabalho; return $trabalho;
......
...@@ -28,6 +28,7 @@ class Trabalho extends Model ...@@ -28,6 +28,7 @@ class Trabalho extends Model
'anexoAutorizacaoComiteEtica', 'anexoAutorizacaoComiteEtica',
'JustificativaAutorizacaoEtica', 'JustificativaAutorizacaoEtica',
'anexoLattesCoordenador', 'anexoLattesCoordenador',
'anexoGrupoPesquisa',
'anexoPlanilhaPontuacao', 'anexoPlanilhaPontuacao',
'anexoProjeto', 'anexoProjeto',
......
...@@ -27,6 +27,7 @@ class CreateTrabalhosTable extends Migration ...@@ -27,6 +27,7 @@ class CreateTrabalhosTable extends Migration
$table->string('anexoDecisaoCONSU')->nullable(); $table->string('anexoDecisaoCONSU')->nullable();
$table->string('anexoPlanilhaPontuacao'); $table->string('anexoPlanilhaPontuacao');
$table->string('anexoLattesCoordenador'); $table->string('anexoLattesCoordenador');
$table->string('anexoGrupoPesquisa');
$table->string('anexoAutorizacaoComiteEtica')->nullable(); $table->string('anexoAutorizacaoComiteEtica')->nullable();
$table->string('justificativaAutorizacaoEtica')->nullable(); $table->string('justificativaAutorizacaoEtica')->nullable();
//chaves estrangeiras //chaves estrangeiras
......
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