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