Commit 2023baa1 authored by carlvercosaa's avatar carlvercosaa
Browse files

anexo plano de trabalho error

parent d992293f
Pipeline #25 canceled with stages
......@@ -1052,7 +1052,7 @@ class AdministradorController extends Controller
'tipo' => 5,
]);
$notificacao->save();
Notification::send($userTemp, new AtribuicaoAvaliadorExternoNotification($userTemp, $trabalho, $evento, $avaliador->trabalhos()->where('trabalho_id', $trabalho->id)->first()->pivot->acesso, $evento->tipoAvaliacao));
//Notification::send($userTemp, new AtribuicaoAvaliadorExternoNotification($userTemp, $trabalho, $evento, $avaliador->trabalhos()->where('trabalho_id', $trabalho->id)->first()->pivot->acesso, $evento->tipoAvaliacao));
}
return redirect()->back();
......
......@@ -89,8 +89,8 @@ class StoreTrabalho extends FormRequest
}
} else if ($evento->tipo != "CONTINUO") {
$rules['anexoPlanoTrabalho'] = ['required'];
$rules['nomePlanoTrabalho'] = ['required', 'string'];
//$rules['anexoPlanoTrabalho'] = ['required'];
//$rules['nomePlanoTrabalho'] = ['required', 'string'];
}
if ($this->has('rascunho')) {
......
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