Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
submeta
Commits
77659f80
Commit
77659f80
authored
May 28, 2021
by
Gabriel-31415
Browse files
ajustes
parent
d8515041
Changes
5
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/TrabalhoController.php
View file @
77659f80
...
...
@@ -1006,7 +1006,7 @@ class TrabalhoController extends Controller
public
function
salvar
(
Request
$request
)
{
$edital
=
Evento
::
find
(
$request
->
editalId
);
$hoje
=
now
();
// dd();
// dd(
$request->all()
);
if
(
!
(
$edital
->
inicioSubmissao
<
$hoje
&&
$edital
->
fimSubmissao
>=
$hoje
))
{
return
redirect
()
->
route
(
'inicial'
)
->
with
([
'error'
=>
0
,
'mensagem'
=>
'As submissões para o edital '
.
$edital
->
titulo
.
' foram encerradas.'
]);
}
...
...
app/Notifications/recuperacaoSenha.php
View file @
77659f80
...
...
@@ -42,7 +42,7 @@ class recuperacaoSenha extends Notification
{
return
(
new
MailMessage
)
->
subject
(
'Recuperação de senha'
)
->
greeting
(
'Olá
;
!'
)
->
greeting
(
'Olá!'
)
->
line
(
'Você está recebendo este e-mail porque nós recebemos uma requisição de redefinição de senha para sua conta.'
)
->
action
(
'REDEFINIR SENHA'
,
route
(
'password.reset'
,
$this
->
token
))
->
line
(
'Se não foi você que solicitou esta recuperação, apenas ignore este e-mail.'
)
...
...
database/migrations/2020_02_05_123217_create_enderecos_table.php
View file @
77659f80
...
...
@@ -16,12 +16,12 @@ class CreateEnderecosTable extends Migration
Schema
::
create
(
'enderecos'
,
function
(
Blueprint
$table
)
{
$table
->
bigIncrements
(
'id'
);
$table
->
timestamps
();
$table
->
string
(
'rua'
);
$table
->
string
(
'rua'
)
->
nullable
()
;
$table
->
string
(
'numero'
)
->
nullable
();
$table
->
string
(
'bairro'
);
$table
->
string
(
'cidade'
);
$table
->
string
(
'uf'
);
$table
->
string
(
'cep'
);
$table
->
string
(
'bairro'
)
->
nullable
()
;
$table
->
string
(
'cidade'
)
->
nullable
()
;
$table
->
string
(
'uf'
)
->
nullable
()
;
$table
->
string
(
'cep'
)
->
nullable
()
;
$table
->
string
(
'complemento'
)
->
nullable
(
true
);
});
}
...
...
resources/views/evento/submeterTrabalho.blade.php
View file @
77659f80
...
...
@@ -1139,7 +1139,7 @@
<
div
class
=
" d-flex justify-content-between align-items-center"
style
=
"margin-top: 15px; margin-bottom:18px"
>
<
h6
style
=
"font-family:Arial, Helvetica, sans-serif; margin-right:15px"
><
span
style
=
"color: red; font-weight:bold"
>*</
span
>
Campos
obrigatórios
</
h6
>
<
input
id
=
"rascunhoInput"
type
=
"hidden"
name
=
"rascunho"
value
=
"false"
>
<
button
type
=
"button"
class
=
"btn btn-primary"
id
=
"formRascunho"
onclick
=
"rascunho()"
>
{{
__
(
'Rascunho'
)
}}
</
button
>
<
button
type
=
"button"
class
=
"btn btn-primary"
id
=
"formRascunho"
>
{{
__
(
'Rascunho'
)
}}
</
button
>
<
button
type
=
"submit"
id
=
"clickSubmitForm"
style
=
"display: none"
></
button
>
<
button
type
=
"button"
class
=
"btn btn-success"
id
=
"idButtonSubmitProjeto"
onclick
=
"enviarModalenviarProjeto()"
disabled
>
{{
__
(
'Enviar Proposta'
)
}}
</
button
>
</
div
>
...
...
@@ -1997,21 +1997,18 @@ function validarPart3(){
<
script
src
=
"https://code.jquery.com/jquery-3.6.0.min.js"
></
script
>
<
script
type
=
"text/javascript"
>
$
(
document
)
.
ready
(()
=>
{
function
rascunho
(){
$
(
"input"
)
.
removeAttr
(
'required'
)
$
(
"select"
)
.
removeAttr
(
'required'
)
$
(
"textarea"
)
.
removeAttr
(
'required'
)
// $('#criarProjetoForm').append("<li>Appended item</li>");
$
(
'#rascunhoInput'
)
.
val
(
'true'
);
$
(
'#criarProjetoForm'
)
.
submit
();
}
$
(
document
)
.
ready
(()
=>
{
console
.
log
(
'rascunho'
)
$
(
"#formRascunho"
)
.
click
(
function
(){
$
(
"input"
)
.
removeAttr
(
'required'
)
$
(
"select"
)
.
removeAttr
(
'required'
)
$
(
"textarea"
)
.
removeAttr
(
'required'
)
// $('#criarProjetoForm').append("<li>Appended item</li>");
$
(
'#rascunhoInput'
)
.
val
(
'true'
);
$
(
'#criarProjetoForm'
)
.
submit
();
});
});
// $("#button").click(function(e){
// e.preventDefault();
...
...
resources/views/vendor/notifications/email.blade.php
View file @
77659f80
...
...
@@ -44,7 +44,9 @@
{{ $salutation }}
@else
@lang('Atenciosamente'),
<br>
Equipe do {{ config('app.name') }}
{{ config('app.name') }} - Eventos Acadêmicos
Laboratório Multidisciplinar de Tecnologias Sociais
Universidade Federal do Agreste de Pernambuco
@endif
{{-- Subcopy --}}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment