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
07df0ab5
Commit
07df0ab5
authored
Apr 11, 2024
by
alissonalbuquerque
Browse files
feat(ods_evento): add migration para relacionar ods com editais
atualização de regras de editais
parent
ed01364a
Changes
7
Show whitespace changes
Inline
Side-by-side
app/Http/Controllers/AvaliadorController.php
View file @
07df0ab5
...
...
@@ -91,6 +91,8 @@ class AvaliadorController extends Controller
if
(
$evento
->
tipoAvaliacao
==
'campos'
||
$evento
->
tipoAvaliacao
==
'link'
)
{
$trabalhos
=
$aval
->
trabalhos
->
where
(
'evento_id'
,
$request
->
evento_id
);
dd
(
$aval
->
trabalhos
);
}
else
{
foreach
(
$aval
->
trabalhos
->
where
(
'evento_id'
,
$evento
->
id
)
as
$trab
){
if
(
$aval
->
trabalhos
()
->
where
(
"trabalho_id"
,
$trab
->
id
)
->
wherePivot
(
'avaliador_id'
,
$aval
->
id
)
->
wherePivot
(
'acesso'
,
2
)
->
orderBy
(
'created_at'
,
'DESC'
)
->
first
()
...
...
app/Http/Controllers/EventoController.php
View file @
07df0ab5
...
...
@@ -72,6 +72,7 @@ class EventoController extends Controller
$naturezas
=
Natureza
::
orderBy
(
'nome'
)
->
get
();
$yesterday
=
Carbon
::
yesterday
(
'America/Recife'
);
$yesterday
=
$yesterday
->
toDateString
();
return
view
(
'evento.criarEvento'
,
[
'coordenadors'
=>
$coordenadors
,
'naturezas'
=>
$naturezas
,
'ontem'
=>
$yesterday
]);
}
...
...
database/migrations/2024_04_11_110527_create_objetivo_de_desenvolvimento_sustentavel_evento_table.php
0 → 100644
View file @
07df0ab5
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
CreateObjetivoDeDesenvolvimentoSustentavelEventoTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'objetivo_de_desenvolvimento_sustentavel_evento'
,
function
(
Blueprint
$table
)
{
$table
->
bigIncrements
(
'id'
);
$table
->
integer
(
'objetivo_de_desenvolvimento_sustentavel_id'
);
$table
->
foreign
(
'objetivo_de_desenvolvimento_sustentavel_id'
)
->
references
(
'id'
)
->
on
(
'objetivo_de_desenvolvimento_sustentavels'
);
$table
->
integer
(
'evento_id'
);
$table
->
foreign
(
'evento_id'
)
->
references
(
'id'
)
->
on
(
'eventos'
);
$table
->
timestamps
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'objetivo_de_desenvolvimento_sustentavel_evento'
);
}
}
database/seeders/DatabaseSeeder.php
View file @
07df0ab5
...
...
@@ -11,7 +11,6 @@ class DatabaseSeeder extends Seeder
*/
public
function
run
()
{
$this
->
call
(
UsuarioSeeder
::
class
);
$this
->
call
(
AdministradorSeeder
::
class
);
$this
->
call
(
AdministradorResponsavelSeeder
::
class
);
...
...
@@ -35,123 +34,6 @@ class DatabaseSeeder extends Seeder
$this
->
call
(
AvaliadorEventoSeeder
::
class
);
$this
->
call
(
AvaliacaoTrabalhosSeeder
::
class
);
$this
->
call
(
AvaliacaoRelatorioSeeder
::
class
);
// $this->call(UsersTableSeeder::class);
// DB::table('enderecos')->insert([ // 1
// 'rua' => 'a',
// 'numero' => 1,
// 'bairro' => 'b',
// 'cidade' => 'c',
// 'uf' => 'd',
// 'cep' => 2,
// ]);
// DB::table('enderecos')->insert([ // 1
// 'rua' => 'R. Manoel Clemente',
// 'numero' => '161',
// 'bairro' => 'Santo Antônio',
// 'cidade' => 'Garanhuns',
// 'uf' => 'PE',
// 'cep' => '55293-040',
// ]);
// DB::table('users')->insert([ //
// 'name' => 'coord',
// 'email' => 'teste@teste',
// 'password' => bcrypt('12345678'),
// 'cpf' => 123132131,
// 'instituicao' => 'd',
// 'celular' => 2,
// 'especProfissional' => 'e',
// 'enderecoId' => 1,
// 'email_verified_at' => '2020-02-15',
// ]);
// DB::table('users')->insert([ //
// 'name' => 'Felipe',
// 'email' => 'felipeaquac@yahoo.com.br',
// 'password' => bcrypt('guedes80'),
// 'cpf' => '999.999.999-99',
// 'instituicao' => 'UFAPE',
// 'celular' => '(99) 99999-9999',
// 'especProfissional' => ' ',
// 'enderecoId' => 1,
// 'email_verified_at' => '2020-02-15',
// ]);
// DB::table('eventos')->insert([
// 'nome'=>'I CONGRESSO REGIONAL DE ZOOTECNIA',
// // 'numeroParticipantes'=>60,
// 'descricao'=>'Cada autor inscrito poderá submeter até dois (2) resumos;
// O número máximo de autores por trabalho será seis autores;
// Os trabalhos deverão ser submetidos na forma de resumo simples com no máximo uma (01) página, no formato PDF;',
// 'tipo'=>'PIBIC',
// 'natureza_id'=>'1',
// 'inicioSubmissao'=>'2020-03-30',
// 'fimSubmissao'=>'2020-09-20',
// 'inicioRevisao'=>'2020-04-21',
// 'fimRevisao'=>'2020-07-21',
// 'resultado'=>'2020-07-22',
// 'numMaxTrabalhos' => 2,
// 'numMaxCoautores' => 5,
// 'coordenadorId'=>1,
// 'created_at'=>'2020-03-30',
// 'criador_id'=>1,
// ]);
// DB::table('eventos')->insert([
// 'nome'=>'II CONGRESSO REGIONAL DE ZOOTECNIA',
// // 'numeroParticipantes'=>60,
// 'descricao'=>'Cada autor inscrito poderá submeter até dois (2) resumos;
// O número máximo de autores por trabalho será seis autores;
// Os trabalhos deverão ser submetidos na forma de resumo simples com no máximo uma (01) página, no formato PDF;',
// 'tipo'=>'PIBIC',
// 'natureza_id'=>'2',
// 'inicioSubmissao'=>'2020-03-30',
// 'fimSubmissao'=>'2020-09-20',
// 'inicioRevisao'=>'2020-04-21',
// 'fimRevisao'=>'2020-05-21',
// 'resultado'=>'2020-05-22',
// 'numMaxTrabalhos' => 2,
// 'numMaxCoautores' => 5,
// 'coordenadorId'=>1,
// 'criador_id'=>2,
// ]);
// DB::table('eventos')->insert([
// 'nome'=>'III CONGRESSO REGIONAL DE ZOOTECNIA',
// // 'numeroParticipantes'=>60,
// 'descricao'=>'Cada autor inscrito poderá submeter até dois (2) resumos;
// O número máximo de autores por trabalho será seis autores;
// Os trabalhos deverão ser submetidos na forma de resumo simples com no máximo uma (01) página, no formato PDF;',
// 'tipo'=>'PIBIC',
// 'natureza_id'=>'3',
// 'inicioSubmissao'=>'2020-03-30',
// 'fimSubmissao'=>'2020-09-20',
// 'inicioRevisao'=>'2020-04-21',
// 'fimRevisao'=>'2020-05-21',
// 'resultado'=>'2020-05-22',
// 'numMaxTrabalhos' => 2,
// 'numMaxCoautores' => 5,
// 'coordenadorId'=>1,
// 'criador_id'=>3,
// ]);
// $areasEventoZoo = [
// 'Produção e nutrição de ruminantes',
// 'Produção e nutrição de não-ruminantes',
// 'Reprodução e melhoramento de ruminantes',
// 'Reprodução e melhoramento de não-ruminantes',
// 'Tecnologia de produtos de origem animal',
// 'Nutrição e Criação de Animais Pet',
// 'Apicultura e Meliponicultura',
// 'Animais Silvestres',
// 'Extensão rural e Desenvolvimento Sustentável',
// 'Forragicultura'
// ];
//$this->call(AvaliadorSeeder::class);
$this
->
call
(
OdsSeeder
::
class
);
}
}
database/seeders/OdsSeeder.php
View file @
07df0ab5
<?php
use
Illuminate\Database\Seeder
;
use
Illuminate\Support\Facades\DB
;
class
OdsSeeder
extends
Seeder
{
...
...
@@ -11,73 +12,72 @@ class OdsSeeder extends Seeder
*/
public
function
run
()
{
DB
::
table
(
'objetivo_de_desenvolvimento_sustentavels'
)
->
insert
([
'nome'
=>
'Erradicação da
p
obreza'
,
'nome'
=>
'Erradicação da
P
obreza'
]);
DB
::
table
(
'objetivo_de_desenvolvimento_sustentavels'
)
->
insert
([
'nome'
=>
'Fome
z
ero e
a
gricultura
s
ustentável'
,
'nome'
=>
'Fome
Z
ero e
A
gricultura
S
ustentável'
]);
DB
::
table
(
'objetivo_de_desenvolvimento_sustentavels'
)
->
insert
([
'nome'
=>
'Saúde e Bem-
e
star'
,
'nome'
=>
'Saúde e Bem-
E
star'
]);
DB
::
table
(
'objetivo_de_desenvolvimento_sustentavels'
)
->
insert
([
'nome'
=>
'Educação de
q
ualidade'
,
'nome'
=>
'Educação de
Q
ualidade'
]);
DB
::
table
(
'objetivo_de_desenvolvimento_sustentavels'
)
->
insert
([
'nome'
=>
'Igualdade de Gênero'
,
'nome'
=>
'Igualdade de Gênero'
]);
DB
::
table
(
'objetivo_de_desenvolvimento_sustentavels'
)
->
insert
([
'nome'
=>
'Água
p
otável e Saneamento'
,
'nome'
=>
'Água
P
otável e Saneamento'
]);
DB
::
table
(
'objetivo_de_desenvolvimento_sustentavels'
)
->
insert
([
'nome'
=>
'Energia Acessível
e Limpa'
,
'nome'
=>
'Energia
Limpa e
Acessível
'
]);
DB
::
table
(
'objetivo_de_desenvolvimento_sustentavels'
)
->
insert
([
'nome'
=>
'Trabalho
d
ecente e
c
rescimento
e
conômico'
,
'nome'
=>
'Trabalho
D
ecente e
C
rescimento
E
conômico'
]);
DB
::
table
(
'objetivo_de_desenvolvimento_sustentavels'
)
->
insert
([
'nome'
=>
'Indústria, Inovação e Infraestrutura'
,
'nome'
=>
'Indústria, Inovação e Infraestrutura'
]);
DB
::
table
(
'objetivo_de_desenvolvimento_sustentavels'
)
->
insert
([
'nome'
=>
'Redução das
d
esigualdades'
,
'nome'
=>
'Redução das
D
esigualdades'
]);
DB
::
table
(
'objetivo_de_desenvolvimento_sustentavels'
)
->
insert
([
'nome'
=>
'Cidades e
c
omunidades
s
ustentáveis'
,
'nome'
=>
'Cidades e
C
omunidades
S
ustentáveis'
]);
DB
::
table
(
'objetivo_de_desenvolvimento_sustentavels'
)
->
insert
([
'nome'
=>
'Consumo e
p
rodução
r
esponsáveis'
,
'nome'
=>
'Consumo e
P
rodução
R
esponsáveis'
]);
DB
::
table
(
'objetivo_de_desenvolvimento_sustentavels'
)
->
insert
([
'nome'
=>
'Ação
c
ontra a
m
udança
g
lobal do
c
lima'
,
'nome'
=>
'Ação
C
ontra a
M
udança
G
lobal do
C
lima'
]);
DB
::
table
(
'objetivo_de_desenvolvimento_sustentavels'
)
->
insert
([
'nome'
=>
'Vida na
á
gua'
,
'nome'
=>
'Vida na
Á
gua'
]);
DB
::
table
(
'objetivo_de_desenvolvimento_sustentavels'
)
->
insert
([
'nome'
=>
'Vida
t
errestre'
,
'nome'
=>
'Vida
T
errestre'
]);
DB
::
table
(
'objetivo_de_desenvolvimento_sustentavels'
)
->
insert
([
'nome'
=>
'Paz,
j
ustiça e
i
nstituições
e
ficazes'
,
'nome'
=>
'Paz,
J
ustiça e
I
nstituições
E
ficazes'
]);
DB
::
table
(
'objetivo_de_desenvolvimento_sustentavels'
)
->
insert
([
'nome'
=>
'Parcerias e
m
eios de
i
mplementação'
,
'nome'
=>
'Parcerias e
M
eios de
I
mplementação'
]);
}
}
resources/views/evento/criarEvento.blade.php
View file @
07df0ab5
...
...
@@ -29,7 +29,7 @@
@
enderror
</
div
>
<
div
class
=
"col-sm-
5
"
>
<
div
class
=
"col-sm-
6
"
>
<
label
for
=
"tipo"
class
=
"col-form-label"
>
{{
__
(
'Tipo:'
)
}}
<
span
style
=
"color:red; font-weight:bold;"
>*</
span
></
label
>
<
select
id
=
"tipo"
type
=
"text"
class
=
"form-control @error('tipo') is-invalid @enderror"
name
=
"tipo"
value
=
"{{ old('tipo') }}"
required
>
<
option
@
if
(
old
(
'tipo'
)
==
"COMPONENTES_CURRICULARES"
))
selected
@
endif
value
=
"COMPONENTES_CURRICULARES"
>
APOIO
À
VIVÊNCIA
DE
COMPONENTES
CURRICULARES
</
option
>
...
...
@@ -44,7 +44,7 @@
@
enderror
</
div
>
<
div
class
=
"col-sm-
2
"
>
<
div
class
=
"col-sm-
3
"
>
<
label
for
=
"natureza"
class
=
"col-form-label"
>
{{
__
(
'Natureza:'
)
}}
<
span
style
=
"color:red; font-weight:bold;"
>*</
span
></
label
>
<
select
onchange
=
"selecionar_decisao_camara()"
id
=
"natureza"
type
=
"text"
class
=
"form-control @error('natureza') is-invalid @enderror"
name
=
"natureza"
value
=
"{{ old('natureza') }}"
>
@
foreach
(
$naturezas
as
$natureza
)
...
...
@@ -58,7 +58,7 @@
</
span
>
@
enderror
</
div
>
<
div
class
=
"col-sm-
2
"
>
<
div
class
=
"col-sm-
3
"
>
<
label
for
=
"numParticipantes"
class
=
"col-form-label"
>
{{
__
(
'Nº de Discentes:'
)
}}
</
label
>
<
input
id
=
"numParticipantes"
type
=
"number"
min
=
"1"
max
=
"500"
class
=
"form-control @error('numParticipantes') is-invalid @enderror"
name
=
"numParticipantes"
value
=
"{{ old('numParticipantes') }}"
autocomplete
=
"numParticipantes"
autofocus
>
...
...
@@ -72,23 +72,13 @@
</
div
>
{{
--
end
nome
|
Participantes
|
Tipo
--
}}
<
div
class
=
"row justify-content-start mb-1 mt-2"
>
<
div
class
=
"col-sm-
2
"
>
<
div
class
=
"col-sm-
3
"
>
<
label
for
=
"check_docExtra"
class
=
"col-form-label"
>
{{
__
(
'Documento extra?'
)
}}
</
label
>
<
input
type
=
"checkbox"
name
=
"check_docExtra"
id
=
"check_docExtra"
onclick
=
"showDocumentoExtra()"
style
=
"margin-left: 5px"
{{
old
(
'check_docExtra'
)
?
'checked'
:
''
}}
>
</
div
>
<!--
<
div
class
=
"col-sm-5"
>
<
label
for
=
"consu"
id
=
"decisaoCamara"
class
=
"col-form-label"
>
{{
__
(
'Decisão da Câmara ou Conselho Pertinente: Obrigatório? '
)
}}
</
label
>
<
input
type
=
"checkbox"
name
=
"consu"
id
=
"consu"
style
=
"margin-left: 5px"
{{
old
(
'consu'
)
?
'checked'
:
''
}}
>
@
error
(
'consu'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
-->
<
div
class
=
"col-sm-3"
>
<
label
for
=
"cotaDoutor"
class
=
"col-form-label"
>
{{
__
(
'Cota para recém doutor: '
)
}}
</
label
>
<
input
type
=
"checkbox"
name
=
"cotaDoutor"
id
=
"cotaDoutor"
style
=
"margin-left: 5px"
{{
old
(
'cotaDoutor'
)
?
'checked'
:
''
}}
>
...
...
@@ -99,26 +89,29 @@
</
span
>
@
enderror
</
div
>
{{
--
Nome
do
Documento
Extra
--
}}
<
div
class
=
'col-md-4'
style
=
'display:none'
>
<
label
for
=
"nome_docExtra"
class
=
"col-form-label"
>
{{
__
(
'Digite o nome do Documento'
)
}}
<
span
style
=
"color:red; font-weight:bold;"
>*</
span
></
label
>
<
input
id
=
"nome_docExtra"
type
=
"text"
class
=
"form-control @error('nome_docExtra') is-invalid @enderror"
name
=
"nome_docExtra"
value
=
"{{ old('nome_docExtra') }}"
placeholder
=
"Nome do Documento"
autocomplete
=
"nome_docExtra"
autofocus
>
@
error
(
'nome_docExtra'
)
<
div
class
=
"col-sm-3"
style
=
"display: none"
>
<
label
for
=
"obrigatoriedade_docExtra"
class
=
"col-form-label"
>
{{
__
(
'Obrigatoriedade: '
)
}}
</
label
>
<
input
type
=
"checkbox"
name
=
"obrigatoriedade_docExtra"
id
=
"obrigatoriedade_docExtra"
style
=
"margin-left: 5px"
{{
old
(
'obrigatoriedade_docExtra'
)
?
'checked'
:
''
}}
>
@
error
(
'obrigatoriedade_docExtra'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
<
div
class
=
"
col-
s
m-3
"
style
=
"
display:
none
"
>
<
label
for
=
"
obrigatoriedad
e_docExtra"
class
=
"col-form-label"
>
{{
__
(
'
Obrigatoriedade: '
)
}}
</
label
>
<
input
type
=
"checkbox"
name
=
"obrigatoriedade_docExtra"
id
=
"obrigatoriedade_docExtra"
style
=
"margin-left: 5px"
{{
old
(
'obrigatoriedade_docExtra'
)
?
'checked'
:
''
}}
>
@
error
(
'
obrigatoriedad
e_docExtra'
)
<
div
class
=
'
col-m
d
-3
'
style
=
'
display:none
'
>
<
label
for
=
"
nom
e_docExtra"
class
=
"col-form-label"
>
{{
__
(
'
Digite o nome do Documento'
)
}}
<
span
style
=
"color:red; font-weight:bold;"
>*</
span
>
</
label
>
<
input
id
=
"nome_docExtra"
type
=
"text"
class
=
"form-control @error('nome_docExtra') is-invalid @enderror"
name
=
"nome_docExtra"
value
=
"{{ old('nome_docExtra') }}"
placeholder
=
"Nome do Documento"
autocomplete
=
"nome_docExtra"
autofocus
>
@
error
(
'
nom
e_docExtra'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
</
div
>
{{
--
Descricao
Edital
--
}}
...
...
resources/views/evento/editarEvento.blade.php
View file @
07df0ab5
...
...
@@ -45,7 +45,7 @@
{{
--
End
Nome
do
evento
--
}}
{{
--
Tipo
do
evento
--
}}
<
div
class
=
"col-sm-
5
"
>
<
div
class
=
"col-sm-
6
"
>
<
label
for
=
"tipo"
class
=
"col-form-label"
>
{{
__
(
'Tipo:'
)
}}
<
span
style
=
"color: red; font-weight: bold;"
>*</
span
></
label
>
<
select
id
=
"tipo"
type
=
"text"
class
=
"form-control @error('tipo') is-invalid @enderror"
name
=
"tipo"
required
onchange
=
"selectTipo()"
>
...
...
@@ -62,7 +62,7 @@
</
div
>
{{
--
Tipo
do
evento
--
}}
<
div
class
=
"col-sm-
2
"
>
<
div
class
=
"col-sm-
3
"
>
<
label
for
=
"natureza"
class
=
"col-form-label"
>
{{
__
(
'Natureza:'
)
}}
<
span
style
=
"color: red; font-weight: bold;"
>*</
span
></
label
>
<
select
id
=
"natureza"
type
=
"text"
class
=
"form-control @error('natureza') is-invalid @enderror"
name
=
"natureza"
value
=
"{{ old('natureza') }}"
required
>
@
foreach
(
$naturezas
as
$natureza
)
...
...
@@ -80,7 +80,7 @@
</
span
>
@
enderror
</
div
>
<
div
class
=
"col-sm-
2
"
>
<
div
class
=
"col-sm-
3
"
>
<
label
for
=
"numParticipantes"
class
=
"col-form-label"
>
{{
__
(
'Nº de Discentes:'
)
}}
</
label
>
<
input
id
=
"numParticipantes"
type
=
"number"
min
=
"0"
max
=
"500"
class
=
"form-control @error('numParticipantes') is-invalid @enderror"
name
=
"numParticipantes"
value
=
"{{
$evento->numParticipantes
}}"
autocomplete
=
"numParticipantes"
autofocus
>
...
...
@@ -95,22 +95,11 @@
<
div
class
=
"row justify-content-start mb-1 mt-2"
>
<
div
class
=
"col-sm-
2
"
>
<
div
class
=
"col-sm-
3
"
>
<
label
for
=
"check_docExtra"
class
=
"col-form-label"
>
{{
__
(
'Documento extra?'
)
}}
</
label
>
<
input
type
=
"checkbox"
name
=
"check_docExtra"
id
=
"check_docExtra"
onclick
=
"showDocumentoExtra()"
style
=
"margin-left: 5px"
@
if
(
$evento
->
nome_docExtra
!=
null
)
checked
@
endif
{{
old
(
'check_docExtra'
)
?
'checked'
:
''
}}
>
</
div
>
<
div
class
=
"col-sm-5"
>
<
label
for
=
"consu"
class
=
"col-form-label"
>
{{
__
(
'Decisão da Câmara ou Conselho Pertinente: obrigatório? '
)
}}
</
label
>
<
input
type
=
"checkbox"
@
if
(
$evento
->
consu
)
checked
@
endif
name
=
"consu"
id
=
"consu"
>
@
error
(
'consu'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
<
div
class
=
"col-sm-3"
id
=
'div-cot-doutor'
>
<
label
for
=
"cotaDoutor"
class
=
"col-form-label"
>
{{
__
(
'Cota para recém doutor?'
)
}}
</
label
>
<
input
type
=
"checkbox"
@
if
(
$evento
->
cotaDoutor
)
checked
@
endif
name
=
"cotaDoutor"
id
=
"cotaDoutor"
>
...
...
@@ -123,20 +112,20 @@
</
div
>
{{
--
Nome
do
Documento
Extra
--
}}
<
div
class
=
'
col-
md-4'
style
=
'
display:none
'
>
<
label
for
=
"
nom
e_docExtra"
class
=
"col-form-label"
>
{{
__
(
'
Digite o nome do Documento'
)
}}
<
span
style
=
"color:red; font-weight:bold;"
>*</
span
>
</
label
>
<
input
id
=
"nome_docExtra"
type
=
"text"
class
=
"form-control @error('nome_docExtra') is-invalid @enderror"
name
=
"nome_docExtra
"
@
if
(
$evento
->
nom
e_docExtra
!=
null
)
value
=
"
{
{$evento->nome_docExtra}
}
"
@
else
value
=
"{{ old('nome_docExtra')}}"
@
endif
placeholder
=
"Nome do Documento"
autocomplete
=
"nome_docExtra"
autofocus
>
@
error
(
'
nom
e_docExtra'
)
<
div
class
=
"
col-
sm-3"
style
=
"
display:
none
"
>
<
label
for
=
"
obrigatoriedad
e_docExtra"
class
=
"col-form-label"
>
{{
__
(
'
Obrigatoriedade: '
)
}}
</
label
>
<
input
type
=
"checkbox"
name
=
"obrigatoriedade_docExtra"
id
=
"obrigatoriedade_docExtra"
style
=
"margin-left: 5px
"
@
if
(
$evento
->
obrigatoriedad
e_docExtra
!=
null
)
checked
@
endif
{{
old
(
'obrigatoriedade_docExtra'
)
?
'checked'
:
''
}}
>
@
error
(
'
obrigatoriedad
e_docExtra'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
<
div
class
=
"
col-
s
m-3
"
style
=
"
display:
none
"
>
<
label
for
=
"
obrigatoriedad
e_docExtra"
class
=
"col-form-label"
>
{{
__
(
'
Obrigatoriedade: '
)
}}
</
label
>
<
input
type
=
"checkbox"
name
=
"obrigatoriedade_docExtra"
id
=
"obrigatoriedade_docExtra"
style
=
"margin-left: 5px"
@
if
(
$evento
->
obrigatoriedade_docExtra
!=
null
)
checked
@
endif
{{
old
(
'obrigatoriedade_docExtra'
)
?
'checked'
:
''
}}
>
@
error
(
'
obrigatoriedad
e_docExtra'
)
<
div
class
=
'
col-m
d
-3
'
style
=
'
display:none
'
>
<
label
for
=
"
nom
e_docExtra"
class
=
"col-form-label"
>
{{
__
(
'
Digite o nome do Documento'
)
}}
<
span
style
=
"color:red; font-weight:bold;"
>*</
span
>
</
label
>
<
input
id
=
"nome_docExtra"
type
=
"text"
class
=
"form-control @error('nome_docExtra') is-invalid @enderror"
name
=
"nome_docExtra"
@
if
(
$evento
->
nome_docExtra
!=
null
)
value
=
"
{
{$evento->nome_docExtra}
}
"
@
else
value
=
"{{ old('nome_docExtra')}}"
@
endif
placeholder
=
"Nome do Documento"
autocomplete
=
"nome_docExtra"
autofocus
>
@
error
(
'
nom
e_docExtra'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
...
...
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