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
d5890a37
Commit
d5890a37
authored
Jun 10, 2020
by
Gabriel-31415
Browse files
ajuste em data de crição dos editais
parent
c08a3941
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
database/seeds/AreaSeeder.php
View file @
d5890a37
...
...
@@ -124,6 +124,54 @@ class AreaSeeder extends Seeder
'nome'
=>
'Engenharia Civil'
,
'grande_area_id'
=>
'3'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Engenharia de Minas'
,
'grande_area_id'
=>
'3'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Engenharia de Materiais e Metalúrgica'
,
'grande_area_id'
=>
'3'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Engenharia Elétrica'
,
'grande_area_id'
=>
'3'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Engenharia Mecânica'
,
'grande_area_id'
=>
'3'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Engenharia Química'
,
'grande_area_id'
=>
'3'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Engenharia Sanitária'
,
'grande_area_id'
=>
'3'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Engenharia de Produção'
,
'grande_area_id'
=>
'3'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Engenharia Nuclear'
,
'grande_area_id'
=>
'3'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Engenharia de Transportes'
,
'grande_area_id'
=>
'3'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Engenharia Naval e Oceânica'
,
'grande_area_id'
=>
'3'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Engenharia Aeroespacial'
,
'grande_area_id'
=>
'3'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Engenharia Biomédica'
,
'grande_area_id'
=>
'3'
]);
// Ciências da Saúde -----------------
...
...
@@ -131,6 +179,39 @@ class AreaSeeder extends Seeder
'nome'
=>
'Medicina'
,
'grande_area_id'
=>
'4'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Odontologia'
,
'grande_area_id'
=>
'4'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Farmácia'
,
'grande_area_id'
=>
'4'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Enfermagem'
,
'grande_area_id'
=>
'4'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Nutrição'
,
'grande_area_id'
=>
'4'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Saúde Coletiva'
,
'grande_area_id'
=>
'4'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Fonoaudiologia'
,
'grande_area_id'
=>
'4'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Fisioterapia e Terapia Ocupacional'
,
'grande_area_id'
=>
'4'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Educação Física'
,
'grande_area_id'
=>
'4'
]);
//Ciências Agrárias ------------------
...
...
@@ -138,6 +219,30 @@ class AreaSeeder extends Seeder
'nome'
=>
'Agronomia'
,
'grande_area_id'
=>
'5'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Recursos Florestais e Engenharia Florestal'
,
'grande_area_id'
=>
'5'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Engenharia Agrícola'
,
'grande_area_id'
=>
'5'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Zootecnia'
,
'grande_area_id'
=>
'5'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Medicina Veterinária'
,
'grande_area_id'
=>
'5'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Recursos Pesqueiros e Engenharia de Pesca'
,
'grande_area_id'
=>
'5'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Ciência e Tecnologia de Alimentos'
,
'grande_area_id'
=>
'5'
]);
//Ciências Sociais Aplicadas ----------
...
...
@@ -145,6 +250,54 @@ class AreaSeeder extends Seeder
'nome'
=>
'Direito'
,
'grande_area_id'
=>
'6'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Administração'
,
'grande_area_id'
=>
'6'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Economia'
,
'grande_area_id'
=>
'6'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Arquitetura e Urbanismo'
,
'grande_area_id'
=>
'6'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Planejamento Urbano e Regional'
,
'grande_area_id'
=>
'6'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Demografia'
,
'grande_area_id'
=>
'6'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Ciência da Informação'
,
'grande_area_id'
=>
'6'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Museologia'
,
'grande_area_id'
=>
'6'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Comunicação'
,
'grande_area_id'
=>
'6'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Serviço Social'
,
'grande_area_id'
=>
'6'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Economia Doméstica'
,
'grande_area_id'
=>
'6'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Desenho Industrial'
,
'grande_area_id'
=>
'6'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Turismo'
,
'grande_area_id'
=>
'6'
]);
//Ciências Humanas ----------------------
...
...
@@ -152,6 +305,42 @@ class AreaSeeder extends Seeder
'nome'
=>
'Filosofia'
,
'grande_area_id'
=>
'7'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Sociologia'
,
'grande_area_id'
=>
'7'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Antropologia'
,
'grande_area_id'
=>
'7'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Arqueologia'
,
'grande_area_id'
=>
'7'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'História'
,
'grande_area_id'
=>
'7'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Geografia'
,
'grande_area_id'
=>
'7'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Psicologia'
,
'grande_area_id'
=>
'7'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Educação'
,
'grande_area_id'
=>
'7'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Ciência Política'
,
'grande_area_id'
=>
'7'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Teologia'
,
'grande_area_id'
=>
'7'
]);
//Lingüística, Letras e Artes-----------
...
...
@@ -159,6 +348,14 @@ class AreaSeeder extends Seeder
'nome'
=>
'Lingüística'
,
'grande_area_id'
=>
'8'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Letras'
,
'grande_area_id'
=>
'8'
]);
DB
::
table
(
'areas'
)
->
insert
([
'nome'
=>
'Artes'
,
'grande_area_id'
=>
'8'
]);
...
...
database/seeds/SubAreaSeeder.php
View file @
d5890a37
This diff is collapsed.
Click to expand it.
resources/views/administrador/editais.blade.php
View file @
d5890a37
...
...
@@ -38,7 +38,7 @@
{{
$evento
->
nome
}}
</
a
>
</
td
>
<
td
>
{{
$evento
->
created_at
}}
</
td
>
<
td
>
{{
date
(
'd/m/Y'
,
strtotime
(
$evento
->
created_at
))
}}
</
td
>
<
td
>
@
if
(
auth
()
->
user
()
->
id
==
$evento
->
criador_id
)
<
div
class
=
"btn-group dropright dropdown-options"
>
...
...
@@ -82,7 +82,6 @@
<
thead
>
<
tr
>
<
th
scope
=
"col"
>
Nome
do
Edital
</
th
>
<
th
scope
=
"col"
>
Status
</
th
>
<
th
scope
=
"col"
>
Data
de
Criação
</
th
>
<
th
scope
=
"col"
>
Baixar
edital
</
th
>
<
th
scope
=
"col"
>
Opção
</
th
>
...
...
@@ -96,8 +95,7 @@
{{
$evento
->
nome
}}
</
a
>
</
td
>
<
td
></
td
>
<
td
>
{{
$evento
->
created_at
}}
</
td
>
<
td
>
{{
date
(
'd/m/Y'
,
strtotime
(
$evento
->
created_at
))
}}
</
td
>
<
td
style
=
"text-align: center"
>
<
a
href
=
"{{ route('baixar.edital', ['id' =>
$evento->id
]) }}"
>
<
img
src
=
"
{
{asset('img/icons/file-download-solid.svg')}
}
"
width
=
"15px"
>
...
...
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