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
70435e75
"app/vscode:/vscode.git/clone" did not exist on "3060e36fe66b8ef0a2e6a5455919b90e9f7afd86"
Commit
70435e75
authored
Jun 09, 2020
by
alinetenorio
Browse files
removendo areas do proponente
parent
f719d063
Changes
9
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/AdministradorController.php
View file @
70435e75
...
...
@@ -5,7 +5,6 @@ namespace App\Http\Controllers;
use
Illuminate\Http\Request
;
use
App\Administrador
;
use
App\User
;
use
App\GrandeArea
;
use
App\Avaliador
;
use
App\AdministradorResponsavel
;
use
App\Participante
;
...
...
@@ -60,9 +59,8 @@ class AdministradorController extends Controller
return
view
(
'administrador.visualizarParecer'
)
->
with
([
'trabalho'
=>
$trabalho
,
'parecer'
=>
$parecer
,
'avaliador'
=>
$avaliador
]);
}
public
function
create
()
{
$grandesAreas
=
GrandeArea
::
orderBy
(
'nome'
)
->
get
();
return
view
(
'administrador.novo_user'
)
->
with
([
'grandeAreas'
=>
$grandesAreas
]);
public
function
create
()
{
return
view
(
'administrador.novo_user'
);
}
public
function
salvar
(
Request
$request
)
{
...
...
@@ -125,10 +123,7 @@ class AdministradorController extends Controller
$proponente
->
vinculo
=
$request
->
vinculo
;
$proponente
->
titulacaoMaxima
=
$request
->
titulacaoMaxima
;
$proponente
->
anoTitulacao
=
$request
->
anoTitulacao
;
$proponente
->
areaFormacao
=
$request
->
areaFormacao
;
$proponente
->
grandeArea
=
$request
->
area
;
$proponente
->
area
=
"teste"
;
$proponente
->
subArea
=
"teste"
;
$proponente
->
areaFormacao
=
$request
->
areaFormacao
;
$proponente
->
bolsistaProdutividade
=
$request
->
bolsistaProdutividade
;
$proponente
->
nivel
=
$request
->
nivel
;
$proponente
->
linkLattes
=
$request
->
linkLattes
;
...
...
@@ -182,8 +177,7 @@ class AdministradorController extends Controller
'cargo'
=>
'required'
,
'titulacaoMaxima'
=>
'required'
,
'anoTitulacao'
=>
'required'
,
'areaFormacao'
=>
'required'
,
'grandeArea'
=>
'required'
,
'areaFormacao'
=>
'required'
,
'bolsistaProdutividade'
=>
'required'
,
'nivel'
=>
'required'
,
'linkLattes'
=>
'required'
,
...
...
@@ -216,10 +210,7 @@ class AdministradorController extends Controller
$proponente
->
vinculo
=
$request
->
vinculo
;
$proponente
->
titulacaoMaxima
=
$request
->
titulacaoMaxima
;
$proponente
->
anoTitulacao
=
$request
->
anoTitulacao
;
$proponente
->
areaFormacao
=
$request
->
areaFormacao
;
$proponente
->
grandeArea
=
$request
->
grandeArea
;
$proponente
->
area
=
"teste"
;
$proponente
->
subArea
=
"teste"
;
$proponente
->
areaFormacao
=
$request
->
areaFormacao
;
$proponente
->
bolsistaProdutividade
=
$request
->
bolsistaProdutividade
;
$proponente
->
nivel
=
$request
->
nivel
;
$proponente
->
linkLattes
=
$request
->
linkLattes
;
...
...
app/Http/Controllers/Auth/RegisterController.php
View file @
70435e75
...
...
@@ -11,7 +11,6 @@ use Illuminate\Support\Facades\Validator;
use
App\User
;
use
App\Participante
;
use
App\Proponente
;
use
App\GrandeArea
;
class
RegisterController
extends
Controller
{
...
...
app/Http/Controllers/ProponenteController.php
View file @
70435e75
...
...
@@ -6,7 +6,6 @@ use Illuminate\Http\Request;
use
Auth
;
use
App\User
;
use
App\Proponente
;
use
App\GrandeArea
;
use
App\Evento
;
class
ProponenteController
extends
Controller
...
...
database/migrations/2020_05_20_211421_create_proponentes_table.php
View file @
70435e75
...
...
@@ -22,10 +22,7 @@ class CreateProponentesTable extends Migration
$table
->
string
(
'vinculo'
);
$table
->
string
(
'titulacaoMaxima'
);
$table
->
string
(
'anoTitulacao'
);
$table
->
string
(
'areaFormacao'
);
$table
->
string
(
'grandeArea'
);
$table
->
string
(
'area'
);
$table
->
string
(
'subArea'
);
$table
->
string
(
'areaFormacao'
);
$table
->
string
(
'bolsistaProdutividade'
);
$table
->
string
(
'nivel'
);
$table
->
string
(
'linkLattes'
);
...
...
database/seeds/ProponenteSeeder.php
View file @
70435e75
...
...
@@ -24,10 +24,7 @@ class ProponenteSeeder extends Seeder
'vinculo'
=>
'123123123'
,
'titulacaoMaxima'
=>
'123123123'
,
'anoTitulacao'
=>
'123123123'
,
'areaFormacao'
=>
'123123123'
,
'grandeArea'
=>
'123123123'
,
'area'
=>
'123123123'
,
'subArea'
=>
'123123123'
,
'areaFormacao'
=>
'123123123'
,
'bolsistaProdutividade'
=>
'123123123'
,
'nivel'
=>
'123123123'
,
'linkLattes'
=>
'123123123'
,
...
...
resources/views/administrador/editar_user.blade.php
View file @
70435e75
...
...
@@ -124,9 +124,6 @@
<
label
class
=
"col-form-label"
>
{{
__
(
'Area Formação'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->areaFormacao}
}
"
id
=
"areaFormacao"
type
=
"text"
class
=
"form-control @error('areaFormacao') is-invalid @enderror"
name
=
"areaFormacao"
autocomplete
=
"areaFormacao"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Área'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->grandeArea}
}
"
id
=
"grandeArea"
type
=
"text"
class
=
"form-control @error('grandeArea') is-invalid @enderror"
name
=
"grandeArea"
autocomplete
=
"grandeArea"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Bolsista Produtividade'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->bolsistaProdutividade}
}
"
id
=
"bolsistaProdutividade"
type
=
"text"
class
=
"form-control @error('bolsistaProdutividade') is-invalid @enderror"
name
=
"bolsistaProdutividade"
autocomplete
=
"bolsistaProdutividade"
>
...
...
@@ -155,10 +152,7 @@
<
label
class
=
"col-form-label"
>
{{
__
(
'Area Formação'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->areaFormacao}
}
"
id
=
"areaFormacao"
type
=
"text"
class
=
"form-control @error('areaFormacao') is-invalid @enderror"
name
=
"areaFormacao"
autocomplete
=
"areaFormacao"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Área'
)
}}
</
label
>
<
input
value
=
""
id
=
"grandeArea"
type
=
"text"
class
=
"form-control @error('grandeArea') is-invalid @enderror"
name
=
"grandeArea"
autocomplete
=
"grandeArea"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Bolsista Produtividade'
)
}}
</
label
>
<
input
value
=
""
id
=
"bolsistaProdutividade"
type
=
"text"
class
=
"form-control @error('bolsistaProdutividade') is-invalid @enderror"
name
=
"bolsistaProdutividade"
autocomplete
=
"bolsistaProdutividade"
>
...
...
resources/views/administrador/novo_user.blade.php
View file @
70435e75
...
...
@@ -96,7 +96,7 @@
@
enderror
<
div
>
<
label
for
=
"vinculo"
class
=
"col-form-label"
>
{{
__
(
'V
i
nculo'
)
}}
</
label
>
<
label
for
=
"vinculo"
class
=
"col-form-label"
>
{{
__
(
'V
í
nculo'
)
}}
</
label
>
<
select
name
=
"vinculo"
id
=
""
>
<
option
value
=
"Servidor na ativa"
>
Servidor
na
ativa
</
option
>
<
option
value
=
"Servidor aposentado"
>
Servidor
aposentado
</
option
>
...
...
@@ -105,7 +105,7 @@
</
select
>
</
div
>
<
label
for
=
"titulacaoMaxima"
class
=
"col-form-label"
>
{{
__
(
'Titulação M
a
xima'
)
}}
</
label
>
<
label
for
=
"titulacaoMaxima"
class
=
"col-form-label"
>
{{
__
(
'Titulação M
á
xima'
)
}}
</
label
>
<
input
id
=
"titulacaoMaxima"
type
=
"text"
class
=
"form-control @error('titulacaoMaxima') is-invalid @enderror"
name
=
"titulacaoMaxima"
value
=
""
autocomplete
=
"nome"
>
@
error
(
'titulacaoMaxima'
)
...
...
@@ -123,33 +123,22 @@
</
span
>
@
enderror
<
label
for
=
"areaFormacao"
class
=
"col-form-label"
>
{{
__
(
'
A
rea de Formação'
)
}}
</
label
>
<
label
for
=
"areaFormacao"
class
=
"col-form-label"
>
{{
__
(
'
Á
rea de Formação'
)
}}
</
label
>
<
input
id
=
"areaFormacao"
type
=
"text"
class
=
"form-control @error('areaFormacao') is-invalid @enderror"
name
=
"areaFormacao"
value
=
""
autocomplete
=
"nome"
>
@
error
(
'areaFormacao'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
<
div
>
<
label
for
=
"area"
class
=
"col-form-label"
>
{{
__
(
'Área'
)
}}
</
label
>
<
select
name
=
"area"
id
=
""
>
@
foreach
(
$grandeAreas
as
$area
)
<
option
value
=
"
{
{$area->nome}}">{{$area->nome}
}
</option>
@endforeach
</select>
</div>
@
enderror
<
div
>
<
label
for
=
"bolsistaProdutividade"
class
=
"col-form-label"
>
{{
__
(
'Bolsista de Produtividade'
)
}}
</
label
><
br
>
<
select
name
=
"bolsistaProdutividade"
id
=
""
>
<option value="
sim
">Sim</option>
<
option
value
=
"nao"
>
Não
</
option
>
<
option
value
=
"sim"
>
Sim
</
option
>
</
select
>
</
div
>
<
div
>
<
label
for
=
"nivel"
class
=
"col-form-label"
>
{{
__
(
'Nivel'
)
}}
</
label
>
...
...
resources/views/proponente/cadastro.blade.php
View file @
70435e75
...
...
@@ -96,41 +96,7 @@
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
<
div
class
=
"col-md-4"
>
<
label
for
=
"grandeArea"
class
=
"col-form-label"
>
{{
__
(
'Grande Área*'
)
}}
</
label
>
<
select
name
=
"grandeArea"
id
=
""
class
=
"form-control"
>
@
foreach
(
$grandeAreas
as
$area
)
<
option
@
if
(
old
(
'grandeArea'
)
==
$area
->
nome
)
selected
@
endif
value
=
"
{
{$area->nome}}">{{$area->nome}
}
</option>
@endforeach
</select>
</div>
<div class="
col
-
md
-
4
">
<label for="
area
" class="
col
-
form
-
label
">{{ __('Área*') }}</label>
<input id="
area
" type="
text
" class="
form
-
control
@
error
(
'area'
)
is
-
invalid
@
enderror
" name="
area
" value="
{{
old
(
'area'
)
}}
">
@error('area')
<span class="
invalid
-
feedback
" role="
alert
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
</div>
<div class="
form
-
group
row
">
<div class="
col
-
md
-
4
">
<label for="
subarea
" class="
col
-
form
-
label
">{{ __('Subárea*') }}</label>
<input id="
subarea
" type="
text
" class="
form
-
control
@
error
(
'subarea'
)
is
-
invalid
@
enderror
" name="
subarea
" value="
{{
old
(
'subarea'
)
}}
">
@error('subarea')
<span class="
invalid
-
feedback
" role="
alert
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
</
div
>
<
div
class
=
"col-md-4"
>
<
label
for
=
"linkLattes"
class
=
"col-form-label"
>
{{
__
(
'Link do curriculum lattes*'
)
}}
</
label
>
...
...
@@ -146,13 +112,13 @@
<
div
class
=
"col-md-3"
>
<
label
for
=
"bolsistaProdutividade"
class
=
"col-form-label"
>
{{
__
(
'Bolsista de Produtividade*'
)
}}
</
label
><
br
>
<
select
name
=
"bolsistaProdutividade"
id
=
"bolsistaProdutividade"
class
=
"form-control"
onchange
=
"mudarNivel()"
>
<option value="
sim
">Sim</option>
<
option
value
=
"nao"
>
Não
</
option
>
<
option
value
=
"sim"
>
Sim
</
option
>
</
select
>
</
div
>
<div class="
col
-
md
-
1
" id="
nivelInput
" style="
display
:
block
;
">
<label for="
nivel
" class="
col
-
form
-
label
">{{ __('Nivel') }}</label>
<
div
class
=
"col-md-1"
id
=
"nivelInput"
style
=
"display:
none
;"
>
<
label
for
=
"nivel"
class
=
"col-form-label"
>
{{
__
(
'Nivel
*
'
)
}}
</
label
>
<
select
name
=
"nivel"
id
=
"nivel"
class
=
"form-control"
>
<
option
value
=
"2"
>
2
</
option
>
<
option
value
=
"1D"
>
1
D
</
option
>
...
...
resources/views/user/perfilUser.blade.php
View file @
70435e75
...
...
@@ -144,10 +144,7 @@
<
label
class
=
"col-form-label"
>
{{
__
(
'Area de Formação'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->areaFormacao}
}
"
id
=
"areaFormacao"
type
=
"text"
class
=
"form-control @error('areaFormacao') is-invalid @enderror"
name
=
"areaFormacao"
autocomplete
=
"areaFormacao"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Área'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->grandeArea}
}
"
id
=
"grandeArea"
type
=
"text"
class
=
"form-control @error('grandeArea') is-invalid @enderror"
name
=
"grandeArea"
autocomplete
=
"grandeArea"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Bolsista Produtividade'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->bolsistaProdutividade}
}
"
id
=
"bolsistaProdutividade"
type
=
"text"
class
=
"form-control @error('bolsistaProdutividade') is-invalid @enderror"
name
=
"bolsistaProdutividade"
autocomplete
=
"bolsistaProdutividade"
>
...
...
@@ -430,9 +427,6 @@
<
label
class
=
"col-form-label"
>
{{
__
(
'Area de Formação'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->areaFormacao}
}
"
id
=
"areaFormacao"
type
=
"text"
class
=
"form-control @error('areaFormacao') is-invalid @enderror"
name
=
"areaFormacao"
autocomplete
=
"areaFormacao"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Área'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->grandeArea}
}
"
id
=
"grandeArea"
type
=
"text"
class
=
"form-control @error('grandeArea') is-invalid @enderror"
name
=
"grandeArea"
autocomplete
=
"grandeArea"
>
<
label
class
=
"col-form-label"
>
{{
__
(
'Bolsista Produtividade'
)
}}
</
label
>
<
input
value
=
"
{
{$proponente->bolsistaProdutividade}
}
"
id
=
"bolsistaProdutividade"
type
=
"text"
class
=
"form-control @error('bolsistaProdutividade') is-invalid @enderror"
name
=
"bolsistaProdutividade"
autocomplete
=
"bolsistaProdutividade"
>
...
...
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