Unverified Commit f4f1b714 authored by GuilhermeGz's avatar GuilhermeGz Committed by GitHub
Browse files

Merge pull request #222 from GuilhermeGz/master

Ajuste na edição de proposta
parents 47f37073 71190855
......@@ -956,8 +956,6 @@ class TrabalhoController extends Controller
DB::commit();
if (!$request->has('rascunho')) {
Notification::send(Auth::user(), new SubmissaoNotification($id,$trabalho->titulo));
} else {
}
return redirect(route('proponente.projetos'))->with(['mensagem' => 'Proposta atualizada!']);
......
......@@ -128,7 +128,7 @@
})
buttonRascunho.addEventListener('click', (e)=>{
$('.collapse').addClass('show')
$('.collapse').addClass('show');
const input = '<input id="input_rascunho" type="hidden" name="rascunho" value="true">';
$("#updateProjetoForm").append(input);
})
......
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