Commit 71190855 authored by Guilherme Silva's avatar Guilherme Silva
Browse files

Ajuste na edição de proposta

parent 47f37073
Showing with 1 addition and 3 deletions
+1 -3
......@@ -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