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
9df5e766
Commit
9df5e766
authored
Oct 30, 2021
by
Guilherme Silva
Browse files
Adicionada manipulação das datas dos relatórios nas telas criação e edição de edital
parent
9743946a
Changes
2
Hide whitespace changes
Inline
Side-by-side
resources/views/evento/criarEvento.blade.php
View file @
9df5e766
...
...
@@ -220,6 +220,42 @@
@enderror
</div>
</div>
<hr>
<div class="
row
subtitulo
">
<div class="
col
-
sm
-
12
">
<p>Relatório</p>
</div>
</div>
<div class="
row
justify
-
content
-
left
">
<div class="
col
-
sm
-
6
">
@component('componentes.input', ['label' => 'Inicio da Submissão:'])
<input id="
dt_inicioRelatorio
" type="
date
" class="
form
-
control
@
error
(
'dt_inicioRelatorio'
)
is
-
invalid
@
enderror
" name="
dt_inicioRelatorio
" value="
{{
old
(
'dt_inicioRelatorio'
)
}}
" required autocomplete="
dt_inicioRelatorio
" autofocus
title="
Inicio
para
o
periodo
do
envio
do
relatório
">
@error('dt_inicioRelatorio')
<span class="
invalid
-
feedback
" role="
alert
">
<strong>Apenas será aceita data posterior ao dia do Resultado Final</strong>
</span>
@enderror
@endcomponent
</div>
<div class="
col
-
sm
-
6
">
@component('componentes.input', ['label' => 'Fim da Submissão:'])
<input id="
dt_fimRelatorio
" type="
date
" class="
form
-
control
@
error
(
'dt_fimRelatorio'
)
is
-
invalid
@
enderror
" name="
dt_fimRelatorio
" value="
{{
old
(
'dt_fimRelatorio'
)
}}
" required autocomplete="
dt_fimRelatorio
" autofocus
title="
Final
do
periodo
do
envio
do
relatório
">
@error('dt_fimRelatorio')
<span class="
invalid
-
feedback
" role="
alert
">
<strong>A data deve ser igual ou posterior a data de inicio</strong>
</span>
@enderror
@endcomponent
</div>
</div>
<hr>
<div class="
row
subtitulo
">
<div class="
col
-
sm
-
12
">
...
...
resources/views/evento/editarEvento.blade.php
View file @
9df5e766
...
...
@@ -216,6 +216,41 @@
</div>
</div>
<hr>
<div class="
row
subtitulo
">
<div class="
col
-
sm
-
12
">
<p>Relatório</p>
</div>
</div>
<div class="
row
justify
-
content
-
left
">
<div class="
col
-
sm
-
6
">
@component('componentes.input', ['label' => 'Inicio da Submissão:'])
<input id="
dt_inicioRelatorio
" type="
date
" value="
{{
$evento
->
dt_inicioRelatorio
}}
" class="
form
-
control
@
error
(
'dt_inicioRelatorio'
)
is
-
invalid
@
enderror
" name="
dt_inicioRelatorio
" value="
{{
old
(
'dt_inicioRelatorio'
)
}}
" required autocomplete="
dt_inicioRelatorio
" autofocus
title="
Inicio
para
o
periodo
do
envio
do
relatório
">
@error('dt_inicioRelatorio')
<span class="
invalid
-
feedback
" role="
alert
">
<strong>Apenas será aceita data posterior ao dia do Resultado Final ({{date('d/m/Y', strtotime(
$evento->resultado_final
?? ''))}})</strong>
</span>
@enderror
@endcomponent
</div>
<div class="
col
-
sm
-
6
">
@component('componentes.input', ['label' => 'Fim da Submissão:'])
<input id="
dt_fimRelatorio
" type="
date
" value="
{{
$evento
->
dt_fimRelatorio
}}
" class="
form
-
control
@
error
(
'dt_fimRelatorio'
)
is
-
invalid
@
enderror
" name="
dt_fimRelatorio
" value="
{{
old
(
'dt_fimRelatorio'
)
}}
" required autocomplete="
dt_fimRelatorio
" autofocus
title="
Final
do
periodo
do
envio
do
relatório
">
@error('dt_fimRelatorio')
<span class="
invalid
-
feedback
" role="
alert
">
<strong>A data deve ser igual ou posterior a data de inicio</strong>
</span>
@enderror
@endcomponent
</div>
</div>
<hr>
<div class="
row
subtitulo
">
<div class="
col
-
sm
-
12
">
<p>Documentos</p>
...
...
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