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
pad-upe
Commits
7bc0c0e7
Commit
7bc0c0e7
authored
Sep 04, 2022
by
alissonalbuquerque
Browse files
add validações e correções em pesquisa, extensão and gestão
parent
a3060593
Changes
74
Hide whitespace changes
Inline
Side-by-side
resources/views/pad/components/templates/dimensao/gestao/membro_titular_conselho/form_update.blade.php
0 → 100644
View file @
7bc0c0e7
<div
id=
"gestao_membro_titular_conselho"
>
<div>
<div
class=
"mb-3"
>
<h3
class=
"h3"
>
Gestão - Membro Titular dos Conselhos da UPE (CEPE, CONSUN OU CGA)
</h3>
</div>
<form
action=
"{{route('gestao_membro_titular_conselho_update', ['id' => $model->id])}}"
method=
"post"
id=
"gestao_membro_titular_conselho_update-form"
>
@csrf
<div
class=
"row"
>
<input
type=
"hidden"
id=
"user_pad_id"
name=
"user_pad_id"
value=
"{{$model->id}}"
>
<div
class=
"mb-3 col-sm-3"
>
<label
class=
"form-label"
for=
"cod_atividade"
>
Cód. Atividade
</label>
<input
class=
"form-control @error('cod_atividade') is-invalid @enderror ajax-errors"
type=
"text"
name=
"cod_atividade"
id=
"cod_atividade"
value=
"{{ $model->cod_atividade }}"
readonly
>
</div>
<div
class=
"mb-3 col-sm-9"
>
<label
class=
"form-label"
for=
"nome"
>
Nome do Conselho
</label>
<input
class=
"form-control @error('nome') is-invalid @enderror ajax-errors"
type=
"text"
name=
"nome"
id=
"nome"
value=
"{{ $model->nome }}"
>
@include('components.divs.errors', [
'field' => 'nome_update',
])
</div>
<div
class=
"mb-3 col-sm-9"
>
<label
class=
"form-label"
for=
"documento"
>
Documento que o Designa
</label>
<input
class=
"form-control @error('documento') is-invalid @enderror ajax-errors"
type=
"text"
name=
"documento"
id=
"documento"
value=
"{{ $model->documento }}"
>
@include('components.divs.errors', [
'field' => 'documento_update',
])
</div>
<div
class=
"mb-3 col-sm-3"
>
<label
class=
"form-label"
for=
"ch_semanal"
>
CH. Semanal
</label>
<input
class=
"form-control @error('ch_semanal') is-invalid @enderror ajax-errors"
type=
"number"
name=
"ch_semanal"
id=
"ch_semanal"
value=
"{{ $model->ch_semanal }}"
>
@include('components.divs.errors', [
'field' => 'ch_semanal_update'
])
</div>
</div>
<div
class=
"mt-1 text-end"
>
<div
class=
"modal-footer"
>
@include('components.buttons.btn-close_modal')
@include('components.buttons.btn-save', [
'id' => 'btn-submit_gestao_membro_titular_conselho-update',
'content' => 'Atualizar',
])
</div>
</div>
</form>
</div>
</div>
@include('pad.components.scripts.ajaxValidation', [
'btn_submit_id' => 'btn-submit_gestao_membro_titular_conselho-update',
'form_id' => 'gestao_membro_titular_conselho_update-form',
'form_type' => 'update',
'route' => route('gestao_membro_titular_conselho_validate'),
])
\ No newline at end of file
resources/views/pad/components/templates/dimensao/gestao/representante_unidade_educacao/form_create.blade.php
0 → 100644
View file @
7bc0c0e7
@
extends
(
'layouts.main'
)
@
section
(
'title'
,
'Gestão'
)
@
section
(
'header'
)
@
include
(
'layouts.header'
,
[
'user'
=>
Auth
::
user
(),
])
@
endsection
@
section
(
'nav'
)
@
include
(
'layouts.navigation'
,
[
'index_menu'
=>
$index_menu
,
])
@
endsection
@
section
(
'body'
)
<
div
class
=
"container"
>
@
include
(
'pad.components.templates.dropdown-eixo'
,
[
'divs'
=>
$divs
])
@
include
(
'components.alerts'
)
<
div
id
=
"gestao_representante_unidade_educacao"
>
<
div
>
<
div
class
=
"mb-3"
>
<
h3
class
=
"h3"
>
Gestão
-
Representante
nas
Unidades
de
Educação
ou
de
Educação
e
Saúde
Formalmente
Designado
(
a
)
pela
Entidade
Sindical
</
h3
>
@
include
(
'components.buttons.btn-show-resolucao'
,
[
'content'
=>
'Resolução'
,
'btn_class'
=>
'show_resolucao'
,
])
</
div
>
<
form
action
=
"
{
{route('gestao_representante_unidade_educacao_create')}
}
"
method
=
"post"
id
=
"gestao_representante_unidade_educacao-form"
>
@
csrf
<
div
class
=
"row"
>
<
input
type
=
"hidden"
id
=
"user_pad_id"
name
=
"user_pad_id"
value
=
"
{
{$user_pad_id}
}
"
>
<
div
class
=
"mb-3 col-sm-3"
>
<
label
class
=
"form-label"
for
=
"cod_atividade"
>
Cód
.
Atividade
</
label
>
<
input
class
=
"form-control @error('cod_atividade') is-invalid @enderror ajax-errors"
type
=
"text"
name
=
"cod_atividade"
id
=
"cod_atividade"
readonly
>
</
div
>
<
div
class
=
"mb-3 col-sm-9"
>
<
label
class
=
"form-label"
for
=
"nome"
>
Documento
Comprobatório
da
Representação
Sindical
</
label
>
<
input
class
=
"form-control @error('nome') is-invalid @enderror ajax-errors"
type
=
"text"
name
=
"nome"
id
=
"nome"
value
=
"{{ old('nome') }}"
>
@
include
(
'components.divs.errors'
,
[
'field'
=>
'nome_create'
,
])
</
div
>
<
div
class
=
"mb-3 col-sm-9"
>
<
label
class
=
"form-label"
for
=
"documento"
>
Documento
que
o
Designa
</
label
>
<
input
class
=
"form-control @error('documento') is-invalid @enderror ajax-errors"
type
=
"text"
name
=
"documento"
id
=
"documento"
value
=
"{{ old('documento') }}"
>
@
include
(
'components.divs.errors'
,
[
'field'
=>
'documento_create'
,
])
</
div
>
<
div
class
=
"mb-3 col-sm-3"
>
<
label
class
=
"form-label"
for
=
"ch_semanal"
>
CH
.
Semanal
</
label
>
<
input
class
=
"form-control @error('ch_semanal') is-invalid @enderror ajax-errors"
type
=
"number"
name
=
"ch_semanal"
id
=
"ch_semanal"
value
=
"{{ old('ch_semanal') }}"
>
@
include
(
'components.divs.errors'
,
[
'field'
=>
'ch_semanal_create'
])
</
div
>
</
div
>
<
div
class
=
"mt-1 text-end"
>
@
include
(
'components.buttons.btn-save'
,
[
'content'
=>
'Cadastrar'
,
'id'
=>
'btn-submit_gestao_representante_unidade_educacao'
])
</
div
>
</
form
>
</
div
>
<
div
class
=
"border rounded px-4 mt-4"
>
<
table
class
=
"table table-hover"
id
=
"gestao_representante_unidade_educacao-table"
>
<
thead
>
<
tr
>
<!--
<
th
scole
=
"col"
>
#</th> -->
<
th
scope
=
"col"
>
Cód
</
th
>
<
th
scope
=
"col"
>
Documento
Comprobatório
da
Representação
Sindical
</
th
>
<
th
scope
=
"col"
>
Documento
que
o
Designa
</
th
>
<
th
scope
=
"col"
>
CH
Semanal
</
th
>
</
tr
>
</
thead
>
<
tbody
>
@
foreach
(
$atividades
as
$atividade
)
<
tr
>
<
td
>
{{
$atividade
->
cod_atividade
}}
</
td
>
<
td
>
{{
$atividade
->
nome
}}
</
td
>
<
td
>
{{
$atividade
->
documento
}}
</
td
>
<
td
>
{{
$atividade
->
ch_semanal
}}
</
td
>
<
td
>
@
include
(
'components.buttons.btn-edit-task'
,
[
'btn_class'
=>
'btn-edit_gestao_representante_unidade_educacao'
,
'btn_id'
=>
$atividade
->
id
,
])
@
include
(
'components.buttons.btn-delete'
,
[
'id'
=>
$atividade
->
id
,
'route'
=>
route
(
'gestao_representante_unidade_educacao_delete'
,
[
'id'
=>
$atividade
->
id
])
])
</
td
>
</
tr
>
@
endforeach
</
tbody
>
</
table
>
</
div
>
</
div
>
@
include
(
'components.modal'
,
[
'size'
=>
'modal-lg'
,
'header'
=>
''
,
])
</
div
>
@
endsection
@
section
(
'scripts'
)
@
include
(
'pad.components.scripts.dropdown-eixo'
,
[
'divs'
=>
$divs
])
@
include
(
'pad.components.scripts.cod_atividade'
,
[
'cod_atividade'
=>
'17-'
,
'form_id'
=>
'gestao_representante_unidade_educacao-form'
,
'div_selected'
=>
'gestao_representante_unidade_educacao'
,
'route'
=>
route
(
'gestao_representante_unidade_educacao_search'
),
])
@
include
(
'pad.components.scripts.ajaxValidation'
,
[
'btn_submit_id'
=>
'btn-submit_gestao_representante_unidade_educacao'
,
'form_id'
=>
'gestao_representante_unidade_educacao-form'
,
'form_type'
=>
'create'
,
'route'
=>
route
(
'gestao_representante_unidade_educacao_validate'
),
])
@
include
(
'pad.components.scripts.dimensao.ensino.show_modal'
,
[
'modal_id'
=>
'modal'
,
'route'
=>
route
(
'view_gestao_representante_unidade_educacao_update'
),
'btn_class'
=>
'btn-edit_gestao_representante_unidade_educacao'
,
])
@
include
(
'pad.components.scripts.dimensao.ensino.show_modal'
,
[
'modal_id'
=>
'modal'
,
'route'
=>
route
(
'view_gestao_representante_unidade_educacao_resolucao'
),
'btn_class'
=>
'show_resolucao'
,
])
@
endsection
resources/views/pad/components/templates/dimensao/gestao/representante_unidade_educacao/form_update.blade.php
0 → 100644
View file @
7bc0c0e7
<div
id=
"gestao_representante_unidade_educacao"
>
<div>
<div
class=
"mb-3"
>
<h3
class=
"h3"
>
Gestão - Representante nas Unidades de Educação ou de Educação e Saúde Formalmente Designado(a) pela Entidade Sindical
</h3>
</div>
<form
action=
"{{route('gestao_representante_unidade_educacao_update', ['id' => $model->id])}}"
method=
"post"
id=
"gestao_representante_unidade_educacao_update-form"
>
@csrf
<div
class=
"row"
>
<input
type=
"hidden"
id=
"user_pad_id"
name=
"user_pad_id"
value=
"{{$model->id}}"
>
<div
class=
"mb-3 col-sm-3"
>
<label
class=
"form-label"
for=
"cod_atividade"
>
Cód. Atividade
</label>
<input
class=
"form-control @error('cod_atividade') is-invalid @enderror ajax-errors"
type=
"text"
name=
"cod_atividade"
id=
"cod_atividade"
value=
"{{ $model->cod_atividade }}"
readonly
>
</div>
<div
class=
"mb-3 col-sm-9"
>
<label
class=
"form-label"
for=
"nome"
>
Documento Comprobatório da Representação Sindical
</label>
<input
class=
"form-control @error('nome') is-invalid @enderror ajax-errors"
type=
"text"
name=
"nome"
id=
"nome"
value=
"{{ $model->nome }}"
>
@include('components.divs.errors', [
'field' => 'nome_update',
])
</div>
<div
class=
"mb-3 col-sm-9"
>
<label
class=
"form-label"
for=
"documento"
>
Documento que o Designa
</label>
<input
class=
"form-control @error('documento') is-invalid @enderror ajax-errors"
type=
"text"
name=
"documento"
id=
"documento"
value=
"{{ $model->documento}}"
>
@include('components.divs.errors', [
'field' => 'documento_update',
])
</div>
<div
class=
"mb-3 col-sm-3"
>
<label
class=
"form-label"
for=
"ch_semanal"
>
CH. Semanal
</label>
<input
class=
"form-control @error('ch_semanal') is-invalid @enderror ajax-errors"
type=
"number"
name=
"ch_semanal"
id=
"ch_semanal"
value=
"{{ $model->ch_semanal }}"
>
@include('components.divs.errors', [
'field' => 'ch_semanal_update'
])
</div>
</div>
<div
class=
"mt-1 text-end"
>
<div
class=
"modal-footer"
>
@include('components.buttons.btn-close_modal')
@include('components.buttons.btn-save', [
'id' => 'btn-submit_gestao_representante_unidade_educacao-update',
'content' => 'Atualizar',
])
</div>
</div>
</form>
</div>
</div>
@include('pad.components.scripts.ajaxValidation', [
'btn_submit_id' => 'btn-submit_gestao_representante_unidade_educacao-update',
'form_id' => 'gestao_representante_unidade_educacao_update-form',
'form_type' => 'update',
'route' => route('gestao_representante_unidade_educacao_validate'),
])
\ No newline at end of file
resources/views/pad/components/templates/dimensao/pesquisa/coordenacao/form_create.blade.php
View file @
7bc0c0e7
<div
id=
"pesquisa_coordenacao"
>
<div>
<div
class=
"mb-3"
>
<h3
class=
"h3"
>
Pesquisa - Coordenação
</h3
class="h3"
>
</div>
<form
action=
"{{route('pesquisa_coordenacao_create')}}"
method=
"post"
id=
"pesquisa_coordenacao-form"
class=
""
>
@csrf
@
extends
(
'layouts.main'
)
@
section
(
'title'
,
'Pesquisa'
)
@
section
(
'header'
)
@
include
(
'layouts.header'
,
[
'user'
=>
Auth
::
user
(),
])
@
endsection
@
section
(
'nav'
)
@
include
(
'layouts.navigation'
,
[
'index_menu'
=>
$index_menu
,
])
@
endsection
@
section
(
'body'
)
<
div
class
=
"container"
>
@
include
(
'pad.components.templates.dropdown-eixo'
,
[
'divs'
=>
$divs
])
<div
class=
"row"
>
@
include
(
'components.alerts'
)
<
div
id
=
"pesquisa_coordenacao"
>
<
div
>
<
div
class
=
"mb-3"
>
<
h3
class
=
"h3"
>
Pesquisa
-
Coordenação
</
h3
class
=
"h3"
>
@
include
(
'components.buttons.btn-show-resolucao'
,
[
'content'
=>
'Resolução'
,
'btn_class'
=>
'show_resolucao'
,
])
</
div
>
<
form
action
=
"
{
{route('pesquisa_coordenacao_create')}
}
"
method
=
"post"
id
=
"pesquisa_coordenacao-form"
class
=
""
>
<input
type=
"hidden"
id=
"user_pad_id"
name=
"user_pad_id"
value=
"{{$user_pad_id}}"
>
@
csrf
<
div
class
=
"row"
>
<
input
type
=
"hidden"
id
=
"user_pad_id"
name
=
"user_pad_id"
value
=
"
{
{$user_pad_id}
}
"
>
<div
class=
"mb-3 col-sm-2"
>
<label
class=
"form-label"
for=
"cod_atividade"
>
Cód. Atividade
</label>
<input
class=
"form-control @error('cod_atividade') is-invalid @enderror"
type=
"text"
name=
"cod_atividade"
id=
"cod_atividade"
value=
"{{ old('cod_atividade') }}"
readonly
>
</div>
<
div
class
=
"mb-3 col-sm-2"
>
<
label
class
=
"form-label"
for
=
"cod_atividade"
>
Cód
.
Atividade
</
label
>
<
input
class
=
"form-control @error('cod_atividade') is-invalid @enderror
ajax-errors
"
type
=
"text"
name
=
"cod_atividade"
id
=
"cod_atividade"
readonly
>
</
div
>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"titulo_projeto"
>
Título do Projeto
</label>
<input
class=
"form-control @error('titulo_projeto') is-invalid @enderror"
type=
"text"
name=
"titulo_projeto"
id=
"titulo_projeto"
value=
"{{ old('titulo_projeto') }}"
>
@error('titulo_projeto')
<div
class=
"alert alert-danger"
>
<span>
{{$message}}
</span>
</div>
@enderror
</div>
<
div
class
=
"mb-3 col-sm-6"
>
<
label
class
=
"form-label"
for
=
"titulo_projeto"
>
Título
do
Projeto
</
label
>
<
input
class
=
"form-control @error('titulo_projeto') is-invalid @enderror ajax-errors"
type
=
"text"
name
=
"titulo_projeto"
id
=
"titulo_projeto"
value
=
"{{ old('titulo_projeto') }}"
>
@
include
(
'components.divs.errors'
,
[
'field'
=>
'titulo_projeto_create'
,
])
</
div
>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"linha_grupo_pesquisa"
>
Linha
&
Grupo de Pesquisa
</label>
<input
class=
"form-control @error('linha_grupo_pesquisa') is-invalid @enderror"
type=
"text"
name=
"linha_grupo_pesquisa"
id=
"linha_grupo_pesquisa"
value=
"{{ old('linha_grupo_pesquisa') }}"
>
@error('linha_grupo_pesquisa')
<div
class=
"alert alert-danger"
>
<span>
{{$message}}
</span>
</div>
@enderror
</div>
<
div
class
=
"mb-3 col-sm-4"
>
<
label
class
=
"form-label"
for
=
"funcao"
>
Função
</
label
>
<
select
class
=
"form-select @error('funcao') is-invalid @enderror ajax-errors"
name
=
"funcao"
id
=
"funcao"
value
=
"{{ old('funcao') }}"
>
<
option
value
=
"0"
>
Selecione
uma
Função
</
option
>
@
foreach
(
$funcoes
as
$value
=>
$funcao
)
@
if
(
$value
==
old
(
'funcao'
)
)
<
option
selected
value
=
"
{
{$value}}">{{$funcao}
}
</option>
@else
<option value="
{{
$value
}}
">
{
{$funcao}
}
</option>
@endif
@endforeach
</select>
<div
class=
"mb-3 col-sm-4"
>
<label
class=
"form-label"
for=
"funcao"
>
Função
</label>
<select
class=
"form-select @error('funcao') is-invalid @enderror"
name=
"funcao"
id=
"funcao"
value=
"{{ old('funcao') }}"
>
<option
value=
"0"
>
Selecione uma Função
</option>
@foreach($funcoesProjeto as $value => $funcao)
@if( $value == old('funcao') )
<option
selected
value=
"{{$value}}"
>
{{$funcao}}
</option>
@else
<option
value=
"{{$value}}"
>
{{$funcao}}
</option>
@endif
@endforeach
</select>
@error('funcao')
<div
class=
"alert alert-danger"
>
<span>
{{$message}}
</span>
</div>
@enderror
</div>
@include('components.divs.errors', [
'field' => 'funcao_create'
])
</div>
<div
class=
"mb-3 col-sm-4"
>
<label
class=
"form-label"
for=
"ch_semanal"
>
CH. Semanal
</label>
<input
class=
"form-control @error('ch_semanal') is-invalid @enderror"
type=
"number"
name=
"ch_semanal"
id=
"ch_semanal"
value=
"{{ old('ch_semanal') }}"
>
@error('ch_semanal')
<div
class=
"alert alert-danger"
>
<span>
{{$message}}
</span>
</div>
@enderror
</div>
</div>
<div class="
mb
-
3
col
-
sm
-
12
">
<label class="
form
-
label
" for="
linha_grupo_pesquisa
">Linha e Grupo de Pesquisa</label>
<input class="
form
-
control
@
error
(
'linha_grupo_pesquisa'
)
is
-
invalid
@
enderror
ajax
-
errors
" type="
text
" name="
linha_grupo_pesquisa
" id="
linha_grupo_pesquisa
" value="
{{
old
(
'linha_grupo_pesquisa'
)
}}
">
@include('components.divs.errors', [
'field' => 'linha_grupo_pesquisa_create',
])
</div>
<div
class=
"mt-1 text-end"
>
@include('components.buttons.btn-save', [
'content' => 'Cadastrar'
])
</div>
</form>
</div>
<div class="
mb
-
3
col
-
sm
-
9
">
<label class="
form
-
label
" for="
cod_dimensao
">Resolução</label>
<select class="
form
-
select
@
error
(
'cod_dimensao'
)
is
-
invalid
@
enderror
ajax
-
errors
" name="
cod_dimensao
" id="
cod_dimensao
" value="
{{
old
(
'cod_dimensao'
)
}}
">
<option value="
0
">Selecione uma Resolução</option>
@foreach(
$planejamentos
as
$value
=>
$cod_dimensao
)
@if(
$value
== old('cod_dimensao') )
<option selected value="
{{
$value
}}
">
{
{$cod_dimensao}
}
</option>
@else
<option value="
{{
$value
}}
">
{
{$cod_dimensao}
}
</option>
@endif
@endforeach
</select>
<div
class=
"border rounded px-4 mt-4"
>
<table
class=
"table table-hover"
id=
"ensino_aulas-table-"
>
<thead>
<tr>
<!-- <th scole="col">#</th> -->
<th
scope=
"col"
>
Cód
</th>
<th
scope=
"col"
>
Título do Projeto
</th>
<th
scope=
"col"
>
Linha
&
Grupo de Pesquisa
</th>
<th
scope=
"col"
>
Função
</th>
<th
scope=
"col"
>
CH Semanal
</th>
<th
scope=
"col"
>
Opções
</th>
</tr>
</thead>
<tbody>
@foreach($pesquisasCoordenacao as $pesquisaCoordenacao)
<tr>
<td>
{{ $pesquisaCoordenacao->cod_atividade }}
</td>
<td>
{{ $pesquisaCoordenacao->titulo_projeto }}
</td>
<td>
{{ $pesquisaCoordenacao->linha_grupo_pesquisa }}
</td>
<td>
{{ $pesquisaCoordenacao->funcaoAsString() }}
</td>
<td>
{{ $pesquisaCoordenacao->ch_semanal }}
</td>
<td>
@include('components.buttons.btn-edit-task', [
'btn_class' => 'btn-edit_pesquisa_coordenacao',
'btn_id' => $pesquisaCoordenacao->id
@include('components.divs.errors', [
'field' => 'cod_dimensao_create'
])
</div>
@include('components.buttons.btn-delete', [
'id' => $pesquisaCoordenacao->id,
'route' => route('pesquisa_coordenacao_delete', ['id' => $pesquisaCoordenacao->id])
<div class="
mb
-
3
col
-
sm
-
3
">
<label class="
form
-
label
" for="
ch_semanal
">CH. Semanal</label>
<input class="
form
-
control
@
error
(
'ch_semanal'
)
is
-
invalid
@
enderror
ajax
-
errors
" type="
number
" name="
ch_semanal
" id="
ch_semanal
" value="
{{
old
(
'ch_semanal'
)
}}
">
@include('components.divs.errors', [
'field' => 'ch_semanal_create'
])
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
<div class="
mt
-
1
text
-
end
">
@include('components.buttons.btn-save', [
'content' => 'Cadastrar',
'id' => 'btn-submit_pesquisa_coordenacao'
])
</div>
</form>
</div>
<div class="
border
rounded
px
-
4
mt
-
4
">
<table class="
table
table
-
hover
" id="
pesquisa_coordenacao
-
table
">
<thead>
<tr>
<!-- <th scole="
col
">#</th> -->
<th scope="
col
"> Cód </th>
<th scope="
col
"> Título do Projeto </th>
<th scope="
col
"> Linha E Grupo de Pesquisa </th>
<th scope="
col
"> Função </th>
<th scope="
col
"> CH Semanal </th>
<th scope="
col
"> Opções </th>
</tr>
</thead>
<tbody>
@foreach(
$atividades
as
$atividade
)
<tr>
<td>{{
$atividade->cod_atividade
}}</td>
<td>{{
$atividade->titulo_projeto
}}</td>
<td>{{
$atividade->linha_grupo_pesquisa
}}</td>
<td>{{
$atividade->funcaoAsString
() }}</td>
<td>{{
$atividade->ch_semanal
}}</td>
<td>
@include('components.buttons.btn-edit-task', [
'btn_class' => 'btn-edit_pesquisa_coordenacao',
'btn_id' =>
$atividade->id
,
])
@include('components.buttons.btn-delete', [
'id' =>
$atividade->id
,
'route' => route('pesquisa_coordenacao_delete', ['id' =>
$atividade->id
])
])
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
\ No newline at end of file
@include('components.modal', [
'size' => 'modal-lg',
'header' => '',
])
</div>
@endsection
@section('scripts')
@include('pad.components.scripts.dropdown-eixo', ['divs' =>
$divs
])
@include('pad.components.scripts.cod_atividade', [
'cod_atividade' => '9-',
'form_id' => 'pesquisa_coordenacao-form',
'div_selected' => 'pesquisa_coordenacao',
'route' => route('pesquisa_coordenacao_search'),
])
@include('pad.components.scripts.ajaxValidation', [
'btn_submit_id' => 'btn-submit_pesquisa_coordenacao',
'form_id' => 'pesquisa_coordenacao-form',
'form_type' => 'create',
'route' => route('pesquisa_coordenacao_validate'),
])
@include('pad.components.scripts.dimensao.ensino.show_modal', [
'modal_id' => 'modal',
'route' => route('view_pesquisa_coordenacao_update'),
'btn_class' => 'btn-edit_pesquisa_coordenacao',
])
@include('pad.components.scripts.dimensao.ensino.show_modal', [
'modal_id' => 'modal',
'route' => route('view_pesquisa_coordenacao_resolucao'),
'btn_class' => 'show_resolucao',
])
@endsection
resources/views/pad/components/templates/dimensao/pesquisa/coordenacao/form_update.blade.php
View file @
7bc0c0e7
<div
id=
"pesquisa_coordenacao"
>
<div>
<form
action=
"{{route('pesquisa_coordenacao_update', ['id' => $model->id])}}"
method=
"post"
id=
"pesquisa_coordenacao-form"
class=
""
>
<div
class=
"mb-3"
>
<h3
class=
"h3"
>
Pesquisa - Coordenação
</h3
class="h3"
>
</div>
<form
action=
"{{route('pesquisa_coordenacao_update', ['id' => $model->id])}}"
method=
"post"
id=
"pesquisa_coordenacao_update-form"
class=
""
>
@csrf
<div
class=
"row"
>
<input
type=
"hidden"
id=
"user_pad_id"
name=
"user_pad_id"
value=
"{{$model->user_pad_id}}"
>
<div
class=
"mb-3 col-sm-2"
>
<label
class=
"form-label"
for=
"cod_atividade"
>
Cód. Atividade
</label>
<input
class=
"form-control @error('cod_atividade') is-invalid @enderror"
type=
"text"
name=
"cod_atividade"
id=
"cod_atividade"
value=
"{{ $model->cod_atividade }}"
readonly
>
<input
class=
"form-control @error('cod_atividade') is-invalid @enderror
ajax-errors
"
type=
"text"
name=
"cod_atividade"
id=
"cod_atividade"
value=
"{{ $model->cod_atividade }}"
readonly
>
</div>
<div
class=
"mb-3 col-sm-
5
"
>
<div
class=
"mb-3 col-sm-
6
"
>
<label
class=
"form-label"
for=
"titulo_projeto"
>
Título do Projeto
</label>
<input
class=
"form-control @error('titulo_projeto') is-invalid @enderror"
type=
"text"
name=
"titulo_projeto"
id=
"titulo_projeto"
value=
"{{ $model->titulo_projeto }}"
>
@error('titulo_projeto')
<div
class=
"alert alert-danger"
>
<span>
{{$message}}
</span>
</div>
@enderror
</div>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"linha_grupo_pesquisa"
>
Linha
&
Grupo de Pesquisa
</label>
<input
class=
"form-control @error('linha_grupo_pesquisa') is-invalid @enderror"
type=
"text"
name=
"linha_grupo_pesquisa"
id=
"linha_grupo_pesquisa"
value=
"{{ $model->linha_grupo_pesquisa }}"
>
@error('linha_grupo_pesquisa')
<div
class=
"alert alert-danger"
>
<span>
{{$message}}
</span>
</div>
@enderror
<input
class=
"form-control @error('titulo_projeto') is-invalid @enderror ajax-errors"
type=
"text"
name=
"titulo_projeto"
id=
"titulo_projeto"
value=
"{{ $model->titulo_projeto }}"
>
@include('components.divs.errors', [
'field' => 'titulo_projeto_update',
])
</div>
<div
class=
"mb-3 col-sm-4"
>
<label
class=
"form-label"
for=
"funcao"
>
Função
</label>
<select
class=
"form-select @error('funcao') is-invalid @enderror"
name=
"funcao"
id=
"funcao"
value=
"{{ old('funcao') }}"
>
<select
class=
"form-select @error('funcao') is-invalid @enderror
ajax-errors
"
name=
"funcao"
id=
"funcao"
>
<option
value=
"0"
>
Selecione uma Função
</option>
@foreach($funcoes
Projeto
as $value => $funcao)
@foreach($funcoes as $value => $funcao)
@if( $value == $model->funcao )
<option
selected
value=
"{{$value}}"
>
{{$funcao}}
</option>
@else
...
...
@@ -45,33 +35,69 @@
@endif
@endforeach
</select>
@error('funcao')
<div
class=
"alert alert-danger"
>
<span>
{{$message}}
</span>
</div>
@enderror
@include('components.divs.errors', [
'field' => 'funcao_update'
])
</div>
<div
class=
"mb-3 col-sm-4"
>
<div
class=
"mb-3 col-sm-12"
>
<label
class=
"form-label"
for=
"linha_grupo_pesquisa"
>
Linha e Grupo de Pesquisa
</label>
<input
class=
"form-control @error('linha_grupo_pesquisa') is-invalid @enderror ajax-errors"
type=
"text"
name=
"linha_grupo_pesquisa"
id=
"linha_grupo_pesquisa"
value=
"{{ $model->linha_grupo_pesquisa }}"
>
@include('components.divs.errors', [
'field' => 'linha_grupo_pesquisa_update',
])
</div>
<div
class=
"mb-3 col-sm-9"
>
<label
class=
"form-label"
for=
"cod_dimensao"
>
Resolução
</label>
<select
class=
"form-select @error('cod_dimensao') is-invalid @enderror ajax-errors"
name=
"cod_dimensao"
id=
"cod_dimensao"
value=
"{{ old('cod_dimensao') }}"
>
<option
value=
"0"
>
Selecione uma Resolução
</option>
@foreach($planejamentos as $value => $cod_dimensao)
@if( $value == $model->cod_dimensao )
<option
selected
value=
"{{$value}}"
>
{{$cod_dimensao}}
</option>
@else
<option
value=
"{{$value}}"
>
{{$cod_dimensao}}
</option>
@endif
@endforeach
</select>
@include('components.divs.errors', [
'field' => 'cod_dimensao_update'
])
</div>
<div
class=
"mb-3 col-sm-3"
>
<label
class=
"form-label"
for=
"ch_semanal"
>
CH. Semanal
</label>
<input
class=
"form-control @error('ch_semanal') is-invalid @enderror"
type=
"number"
name=
"ch_semanal"
id=
"ch_semanal"
value=
"{{ $model->ch_semanal }}"
>
@error('ch_semanal')
<div
class=
"alert alert-danger"
>
<span>
{{$message}}
</span>
</div>
@enderror
<input
class=
"form-control @error('ch_semanal') is-invalid @enderror ajax-errors"
type=
"number"
name=
"ch_semanal"
id=
"ch_semanal"
value=
"{{ $model->ch_semanal }}"
>
@include('components.divs.errors', [
'field' => 'ch_semanal_update'
])
</div>
</div>
<div
class=
"mt-1 text-end"
>
@include('components.buttons.btn-close_modal')
<div
class=
"modal-footer"
>
@include('components.buttons.btn-close_modal')
@include('components.buttons.btn-save', [
'content' => 'Cadastrar'
])
@include('components.buttons.btn-save', [
'id' => 'btn-submit_pesquisa_coordenacao-update',
'content' => 'Atualizar',
])
</div>
</div>
</form>
</div>
</div>
\ No newline at end of file
</div>
@include('pad.components.scripts.ajaxValidation', [
'btn_submit_id' => 'btn-submit_pesquisa_coordenacao-update',
'form_id' => 'pesquisa_coordenacao_update-form',
'form_type' => 'update',
'route' => route('pesquisa_coordenacao_validate'),
])
\ No newline at end of file
resources/views/pad/components/templates/dimensao/pesquisa/lideranca/form_create.blade.php
View file @
7bc0c0e7
@
extends
(
'layouts.main'
)
@
section
(
'title'
,
'Pesquisa'
)
@
section
(
'header'
)
@
include
(
'layouts.header'
,
[
'user'
=>
Auth
::
user
(),
])
@
endsection
@
section
(
'nav'
)
@
include
(
'layouts.navigation'
,
[
'index_menu'
=>
$index_menu
,
])
@
endsection
@
section
(
'body'
)
<
div
class
=
"container"
>
@
include
(
'pad.components.templates.dropdown-eixo'
,
[
'divs'
=>
$divs
])
@
include
(
'components.alerts'
)
<
div
id
=
"pesquisa_lideranca"
>
<
div
>
<
div
class
=
"mb-3"
>
<
h3
class
=
"h3"
>
Pesquisa
-
Liderança
</
h3
class
=
"h3"
>
@
include
(
'components.buttons.btn-show-resolucao'
,
[
'content'
=>
'Resolução'
,
'btn_class'
=>
'show_resolucao'
,
])
</
div
>
<
form
action
=
"
{
{route('pesquisa_lideranca_create')}
}
"
method
=
"post"
id
=
"pesquisa_lideranca-form"
class
=
""
>
@
csrf
<
div
class
=
"row"
>
<
input
type
=
"hidden"
id
=
"user_pad_id"
name
=
"user_pad_id"
value
=
"
{
{$user_pad_id}
}
"
>
<
div
class
=
"mb-3 col-sm-2"
>
<
label
class
=
"form-label"
for
=
"cod_atividade"
>
Cód
.
Atividade
</
label
>
<
input
class
=
"form-control @error('cod_atividade') is-invalid @enderror ajax-errors"
type
=
"text"
name
=
"cod_atividade"
id
=
"cod_atividade"
readonly
>
</
div
>
<
div
class
=
"mb-3 col-sm-10"
>
<
label
class
=
"form-label"
for
=
"grupo_pesquisa"
>
Título
do
Projeto
</
label
>
<
input
class
=
"form-control @error('grupo_pesquisa') is-invalid @enderror ajax-errors"
type
=
"text"
name
=
"grupo_pesquisa"
id
=
"grupo_pesquisa"
value
=
"{{ old('grupo_pesquisa') }}"
>
@
include
(
'components.divs.errors'
,
[
'field'
=>
'grupo_pesquisa_create'
,
])
</
div
>
<
div
class
=
"mb-3 col-sm-6"
>
<
label
class
=
"form-label"
for
=
"funcao"
>
Função
</
label
>
<
select
class
=
"form-select @error('funcao') is-invalid @enderror ajax-errors"
name
=
"funcao"
id
=
"funcao"
value
=
"{{ old('funcao') }}"
>
<
option
value
=
"0"
>
Selecione
uma
Função
</
option
>
@
foreach
(
$funcoes
as
$value
=>
$funcao
)
@
if
(
$value
==
old
(
'funcao'
)
)
<
option
selected
value
=
"
{
{$value}}">{{$funcao}
}
</option>
@else
<option value="
{{
$value
}}
">
{
{$funcao}
}
</option>
@endif
@endforeach
</select>
@include('components.divs.errors', [
'field' => 'funcao_create'
])
</div>
<div class="
mb
-
3
col
-
sm
-
6
">
<label class="
form
-
label
" for="
ch_semanal
">CH. Semanal</label>
<input class="
form
-
control
@
error
(
'ch_semanal'
)
is
-
invalid
@
enderror
ajax
-
errors
" type="
number
" name="
ch_semanal
" id="
ch_semanal
" value="
{{
old
(
'ch_semanal'
)
}}
">
@include('components.divs.errors', [
'field' => 'ch_semanal_create'
])
</div>
</div>
<div class="
mt
-
1
text
-
end
">
@include('components.buttons.btn-save', [
'content' => 'Cadastrar',
'id' => 'btn-submit_pesquisa_lideranca'
])
</div>
</form>
</div>
<div class="
border
rounded
px
-
4
mt
-
4
">
<table class="
table
table
-
hover
" id="
pesquisa_lideranca
-
table
">
<thead>
<tr>
<!-- <th scole="
col
">#</th> -->
<th scope="
col
"> Cód </th>
<th scope="
col
"> Grupo de Pesquisa </th>
<th scope="
col
"> Função </th>
<th scope="
col
"> CH Semanal </th>
<th scope="
col
"> Opções </th>
</tr>
</thead>
<tbody>
@foreach(
$atividades
as
$atividade
)
<tr>
<td>{{
$atividade->cod_atividade
}}</td>
<td>{{
$atividade->grupo_pesquisa
}}</td>
<td>{{
$atividade->funcaoAsString
() }}</td>
<td>{{
$atividade->ch_semanal
}}</td>
<td>
@include('components.buttons.btn-edit-task', [
'btn_class' => 'btn-edit_pesquisa_lideranca',
'btn_id' =>
$atividade->id
,
])
@include('components.buttons.btn-delete', [
'id' =>
$atividade->id
,
'route' => route('pesquisa_lideranca_delete', ['id' =>
$atividade->id
])
])
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
@include('components.modal', [
'size' => 'modal-lg',
'header' => '',
])
</div>
@endsection
@section('scripts')
@include('pad.components.scripts.dropdown-eixo', ['divs' =>
$divs
])
@include('pad.components.scripts.cod_atividade', [
'cod_atividade' => '11-',
'form_id' => 'pesquisa_lideranca-form',
'div_selected' => 'pesquisa_lideranca',
'route' => route('pesquisa_lideranca_search'),
])
@include('pad.components.scripts.ajaxValidation', [
'btn_submit_id' => 'btn-submit_pesquisa_lideranca',
'form_id' => 'pesquisa_lideranca-form',
'form_type' => 'create',
'route' => route('pesquisa_lideranca_validate'),
])
@include('pad.components.scripts.dimensao.ensino.show_modal', [
'modal_id' => 'modal',
'route' => route('view_pesquisa_lideranca_update'),
'btn_class' => 'btn-edit_pesquisa_lideranca',
])
@include('pad.components.scripts.dimensao.ensino.show_modal', [
'modal_id' => 'modal',
'route' => route('view_pesquisa_lideranca_resolucao'),
'btn_class' => 'show_resolucao',
])
@endsection
resources/views/pad/components/templates/dimensao/pesquisa/lideranca/form_update.blade.php
View file @
7bc0c0e7
<div
id=
"pesquisa_lideranca"
>
<div>
<div
class=
"mb-3"
>
<h3
class=
"h3"
>
Pesquisa - Liderança
</h3
class="h3"
>
</div>
<form
action=
"{{route('pesquisa_lideranca_update', ['id' => $model->id])}}"
method=
"post"
id=
"pesquisa_lideranca_update-form"
class=
""
>
@csrf
<div
class=
"row"
>
<div
class=
"mb-3 col-sm-2"
>
<label
class=
"form-label"
for=
"cod_atividade"
>
Cód. Atividade
</label>
<input
class=
"form-control @error('cod_atividade') is-invalid @enderror ajax-errors"
type=
"text"
name=
"cod_atividade"
id=
"cod_atividade"
value=
"{{ $model->cod_atividade }}"
readonly
>
</div>
<div
class=
"mb-3 col-sm-10"
>
<label
class=
"form-label"
for=
"grupo_pesquisa"
>
Título do Projeto
</label>
<input
class=
"form-control @error('grupo_pesquisa') is-invalid @enderror ajax-errors"
type=
"text"
name=
"grupo_pesquisa"
id=
"grupo_pesquisa"
value=
"{{ $model->grupo_pesquisa }}"
>
@include('components.divs.errors', [
'field' => 'grupo_pesquisa_update',
])
</div>
<div
class=
"mb-3 col-sm-6"
>
<label
class=
"form-label"
for=
"funcao"
>
Função
</label>
<select
class=
"form-select @error('funcao') is-invalid @enderror ajax-errors"
name=
"funcao"
id=
"funcao"
>
<option
value=
"0"
>
Selecione uma Função
</option>
@foreach($funcoes as $value => $funcao)
@if( $value == $model->funcao )
<option
selected
value=
"{{$value}}"
>
{{$funcao}}
</option>
@else
<option
value=
"{{$value}}"
>
{{$funcao}}
</option>
@endif
@endforeach
</select>
@include('components.divs.errors', [
'field' => 'funcao_update'
])
</div>
<div
class=
"mb-3 col-sm-6"
>
<label
class=
"form-label"
for=
"ch_semanal"
>
CH. Semanal
</label>
<input
class=
"form-control @error('ch_semanal') is-invalid @enderror ajax-errors"
type=
"number"
name=
"ch_semanal"
id=
"ch_semanal"
value=
"{{ $model->ch_semanal }}"
>
@include('components.divs.errors', [
'field' => 'ch_semanal_update'
])
</div>
</div>
<div
class=
"mt-1 text-end"
>
<div
class=
"modal-footer"
>
@include('components.buttons.btn-close_modal')
@include('components.buttons.btn-save', [
'id' => 'btn-submit_pesquisa_lideranca-update',
'content' => 'Atualizar',
])
</div>
</div>
</form>
</div>
</div>
@include('pad.components.scripts.ajaxValidation', [
'btn_submit_id' => 'btn-submit_pesquisa_lideranca-update',
'form_id' => 'pesquisa_lideranca_update-form',
'form_type' => 'update',
'route' => route('pesquisa_lideranca_validate'),
])
\ No newline at end of file
resources/views/pad/components/templates/dimensao/pesquisa/orientacao/form_create.blade.php
View file @
7bc0c0e7
@
extends
(
'layouts.main'
)
@
section
(
'title'
,
'Pesquisa'
)
@
section
(
'header'
)
@
include
(
'layouts.header'
,
[
'user'
=>
Auth
::
user
(),
])
@
endsection
@
section
(
'nav'
)
@
include
(
'layouts.navigation'
,
[
'index_menu'
=>
$index_menu
,
])
@
endsection
@
section
(
'body'
)
<
div
class
=
"container"
>
@
include
(
'pad.components.templates.dropdown-eixo'
,
[
'divs'
=>
$divs
])
@
include
(
'components.alerts'
)
<
div
id
=
"pesquisa_orientacao"
>
<
div
>
<
div
class
=
"mb-3"
>
<
h3
class
=
"h3"
>
Pesquisa
-
Orientação
</
h3
class
=
"h3"
>
@
include
(
'components.buttons.btn-show-resolucao'
,
[
'content'
=>
'Resolução'
,
'btn_class'
=>
'show_resolucao'
,
])
</
div
>
<
form
action
=
"
{
{route('pesquisa_orientacao_create')}
}
"
method
=
"post"
id
=
"pesquisa_orientacao-form"
class
=
""
>
@
csrf
<
div
class
=
"row"
>
<
input
type
=
"hidden"
name
=
"user_pad_id"
id
=
"user_pad_id"
value
=
"{{
$user_pad_id
}}"
>
<
div
class
=
"mb-3 col-sm-2"
>
<
label
class
=
"form-label"
for
=
"cod_atividade"
>
Cód
.
Atividade
</
label
>
<
input
class
=
"form-control @error('cod_atividade') is-invalid @enderror ajax-errors"
type
=
"text"
name
=
"cod_atividade"
id
=
"cod_atividade"
readonly
>
</
div
>
<
div
class
=
"mb-3 col-sm-10"
>
<
label
class
=
"form-label"
for
=
"nome_orientando"
>
Nome
do
Orientando
</
label
>
<
input
class
=
"form-control @error('nome_orientando') is-invalid @enderror ajax-errors"
type
=
"text"
name
=
"nome_orientando"
id
=
"nome_orientando"
value
=
"{{ old('nome_orientando') }}"
>
@
include
(
'components.divs.errors'
,
[
'field'
=>
'nome_orientando_create'
,
])
</
div
>
<
div
class
=
"mb-3 col-sm-12"
>
<
label
class
=
"form-label"
for
=
"titulo_projeto"
>
Título
do
Projeto
</
label
>
<
input
class
=
"form-control @error('titulo_projeto') is-invalid @enderror ajax-errors"
type
=
"text"
name
=
"titulo_projeto"
id
=
"titulo_projeto"
value
=
"{{ old('titulo_projeto') }}"
>
@
include
(
'components.divs.errors'
,
[
'field'
=>
'titulo_projeto_create'
,
])
</
div
>
<
div
class
=
"mb-3 col-sm-6"
>
<
label
class
=
"form-label"
for
=
"funcao"
>
Função
</
label
>
<
select
class
=
"form-select @error('funcao') is-invalid @enderror ajax-errors"
name
=
"funcao"
id
=
"funcao"
>
<
option
value
=
"0"
>
Selecione
uma
Função
</
option
>
@
foreach
(
$funcoes
as
$value
=>
$funcao
)
@
if
(
$value
==
old
(
'funcao'
)
)
<
option
selected
value
=
"
{
{$value}}">{{$funcao}
}
</option>
@else
<option value="
{{
$value
}}
">
{
{$funcao}
}
</option>
@endif
@endforeach
</select>
@include('components.divs.errors', [
'field' => 'funcao_create'
])
</div>
<div class="
mb
-
3
col
-
sm
-
6
">
<label class="
form
-
label
" for="
ch_semanal
">CH. Semanal</label>
<input class="
form
-
control
@
error
(
'ch_semanal'
)
is
-
invalid
@
enderror
ajax
-
errors
" type="
number
" name="
ch_semanal
" id="
ch_semanal
" value="
{{
old
(
'ch_semanal'
)
}}
">
@include('components.divs.errors', [
'field' => 'ch_semanal_create'
])
</div>
</div>
<div class="
mt
-
1
text
-
end
">
@include('components.buttons.btn-save', [
'content' => 'Cadastrar',
'id' => 'btn-submit_pesquisa_orientacao'
])
</div>
</form>
</div>
<div class="
border
rounded
px
-
4
mt
-
4
">
<table class="
table
table
-
hover
" id="
pesquisa_orientacao
-
table
">
<thead>
<tr>
<!-- <th scole="
col
">#</th> -->
<th scope="
col
"> Cód </th>
<th scope="
col
"> Título do Projeto </th>
<th scope="
col
"> Nome do Orientando </th>
<th scope="
col
"> Função </th>
<th scope="
col
"> CH Semanal </th>
<th scope="
col
"> Opções </th>
</tr>
</thead>
<tbody>
@foreach(
$atividades
as
$atividade
)
<tr>
<td>{{
$atividade->cod_atividade
}}</td>
<td>{{
$atividade->titulo_projeto
}}</td>
<td>{{
$atividade->nome_orientando
}}</td>
<td>{{
$atividade->funcaoAsString
() }}</td>
<td>{{
$atividade->ch_semanal
}}</td>
<td>
@include('components.buttons.btn-edit-task', [
'btn_class' => 'btn-edit_pesquisa_orientacao',
'btn_id' =>
$atividade->id
,
])
@include('components.buttons.btn-delete', [
'id' =>
$atividade->id
,
'route' => route('pesquisa_orientacao_delete', ['id' =>
$atividade->id
])
])
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
@include('components.modal', [
'size' => 'modal-lg',
'header' => '',
])
</div>
@endsection
@section('scripts')
@include('pad.components.scripts.dropdown-eixo', ['divs' =>
$divs
])
@include('pad.components.scripts.cod_atividade', [
'cod_atividade' => '10-',
'form_id' => 'pesquisa_orientacao-form',
'div_selected' => 'pesquisa_orientacao',
'route' => route('pesquisa_orientacao_search'),
])
@include('pad.components.scripts.ajaxValidation', [
'btn_submit_id' => 'btn-submit_pesquisa_orientacao',
'form_id' => 'pesquisa_orientacao-form',
'form_type' => 'create',
'route' => route('pesquisa_orientacao_validate'),
])
@include('pad.components.scripts.dimensao.ensino.show_modal', [
'modal_id' => 'modal',
'route' => route('view_pesquisa_orientacao_update'),
'btn_class' => 'btn-edit_pesquisa_orientacao',
])
@include('pad.components.scripts.dimensao.ensino.show_modal', [
'modal_id' => 'modal',
'route' => route('view_pesquisa_orientacao_resolucao'),
'btn_class' => 'show_resolucao',
])
@endsection
resources/views/pad/components/templates/dimensao/pesquisa/orientacao/form_update.blade.php
View file @
7bc0c0e7
<div
id=
"pesquisa_orientacao"
>
<div>
<div
class=
"mb-3"
>
<h3
class=
"h3"
>
Pesquisa - Orientação
</h3
class="h3"
>
</div>
<form
action=
"{{route('pesquisa_orientacao_update', ['id' => $model->id])}}"
method=
"post"
id=
"pesquisa_orientacao_update-form"
class=
""
>
@csrf
<div
class=
"row"
>
<div
class=
"mb-3 col-sm-2"
>
<label
class=
"form-label"
for=
"cod_atividade"
>
Cód. Atividade
</label>
<input
class=
"form-control @error('cod_atividade') is-invalid @enderror ajax-errors"
type=
"text"
name=
"cod_atividade"
id=
"cod_atividade"
value=
"{{ $model->cod_atividade }}"
readonly
>
</div>
<div
class=
"mb-3 col-sm-10"
>
<label
class=
"form-label"
for=
"nome_orientando"
>
Nome do Orientando
</label>
<input
class=
"form-control @error('nome_orientando') is-invalid @enderror ajax-errors"
type=
"text"
name=
"nome_orientando"
id=
"nome_orientando"
value=
"{{ $model->nome_orientando }}"
>
@include('components.divs.errors', [
'field' => 'nome_orientando_update',
])
</div>
<div
class=
"mb-3 col-sm-12"
>
<label
class=
"form-label"
for=
"titulo_projeto"
>
Título do Projeto
</label>
<input
class=
"form-control @error('titulo_projeto') is-invalid @enderror ajax-errors"
type=
"text"
name=
"titulo_projeto"
id=
"titulo_projeto"
value=
"{{ $model->titulo_projeto }}"
>
@include('components.divs.errors', [
'field' => 'titulo_projeto_update',
])
</div>
<div
class=
"mb-3 col-sm-6"
>
<label
class=
"form-label"
for=
"funcao"
>
Função
</label>
<select
class=
"form-select @error('funcao') is-invalid @enderror ajax-errors"
name=
"funcao"
id=
"funcao"
>
<option
value=
"0"
>
Selecione uma Função
</option>
@foreach($funcoes as $value => $funcao)
@if( $value == $model->funcao )
<option
selected
value=
"{{$value}}"
>
{{$funcao}}
</option>
@else
<option
value=
"{{$value}}"
>
{{$funcao}}
</option>
@endif
@endforeach
</select>
@include('components.divs.errors', [
'field' => 'funcao_update'
])
</div>
<div
class=
"mb-3 col-sm-6"
>
<label
class=
"form-label"
for=
"ch_semanal"
>
CH. Semanal
</label>
<input
class=
"form-control @error('ch_semanal') is-invalid @enderror ajax-errors"
type=
"number"
name=
"ch_semanal"
id=
"ch_semanal"
value=
"{{ $model->ch_semanal }}"
>
@include('components.divs.errors', [
'field' => 'ch_semanal_update'
])
</div>
</div>
<div
class=
"mt-1 text-end"
>
<div
class=
"modal-footer"
>
@include('components.buttons.btn-close_modal')
@include('components.buttons.btn-save', [
'id' => 'btn-submit_pesquisa_orientacao-update',
'content' => 'Atualizar',
])
</div>
</div>
</form>
</div>
</div>
@include('pad.components.scripts.ajaxValidation', [
'btn_submit_id' => 'btn-submit_pesquisa_orientacao-update',
'form_id' => 'pesquisa_orientacao_update-form',
'form_type' => 'update',
'route' => route('pesquisa_orientacao_validate'),
])
\ No newline at end of file
resources/views/pad/components/templates/resolucao.blade.php
View file @
7bc0c0e7
...
...
@@ -8,8 +8,12 @@
<div
class=
"card-body"
>
<p>
{{ $resolucao->descricao }}
</p>
<ul
class=
"list-group list-group-flush"
>
<li
class=
"list-group-item"
>
<strong>
Carga Horária Semanal :
</strong>
{{ $resolucao->ch_semanal }}
</li>
<li
class=
"list-group-item"
>
<strong>
Carga Horária Máxima :
</strong>
{{ $resolucao->ch_maxima }}
</li>
@php
$ch_semanal = $resolucao->ch_semanal !== null? $resolucao->ch_semanal : '--';
$ch_maxima = $resolucao->ch_maxima !== null? $resolucao->ch_maxima : '--';
@endphp
<li
class=
"list-group-item"
>
<strong>
Carga Horária Semanal :
</strong>
{{ $ch_semanal }}
</li>
<li
class=
"list-group-item"
>
<strong>
Carga Horária Máxima :
</strong>
{{ $ch_maxima }}
</li>
</ul>
</div>
</div>
...
...
routes/dimensao/dimensao.php
View file @
7bc0c0e7
...
...
@@ -21,6 +21,6 @@ use Illuminate\Support\Facades\Route;
Route
::
prefix
(
'/pad/dimensao/'
)
->
group
(
function
()
{
Route
::
get
(
'/gestao/{user_pad_id}'
,
[
GestaoController
::
class
,
'index'
])
->
name
(
'dimensao_gestao'
);
Route
::
get
(
'/ensino/{user_pad_id}'
,
[
EnsinoController
::
class
,
'index'
])
->
name
(
'dimensao_ensino'
);
Route
::
get
(
'/pesquisa/{user_pad_id}
/{form_selected?}
'
,
[
PesquisaController
::
class
,
'index'
])
->
name
(
'dimensao_pesquisa'
);
Route
::
get
(
'/extensao/{user_pad_id}
/{form_selected?}
'
,
[
ExtensaoController
::
class
,
'index'
])
->
name
(
'dimensao_extensao'
);
Route
::
get
(
'/pesquisa/{user_pad_id}'
,
[
PesquisaController
::
class
,
'index'
])
->
name
(
'dimensao_pesquisa'
);
Route
::
get
(
'/extensao/{user_pad_id}'
,
[
ExtensaoController
::
class
,
'index'
])
->
name
(
'dimensao_extensao'
);
});
\ No newline at end of file
routes/dimensao/ensino.php
View file @
7bc0c0e7
...
...
@@ -86,6 +86,7 @@ Route::prefix('/pad/dimensao/ensino/atendimento/discente')->group(function () {
Route
::
get
(
'/index/{user_pad_id}'
,
[
EnsinoAtendimentoDiscenteController
::
class
,
'index'
])
->
name
(
'ensino_atendimento_discente_index'
);
Route
::
get
(
'/edit/{id?}'
,
[
EnsinoAtendimentoDiscenteController
::
class
,
'edit'
])
->
name
(
'view_ensino_atendimento_discente_update'
);
Route
::
get
(
'/search/{user_pad_id?}'
,
[
EnsinoAtendimentoDiscenteController
::
class
,
'search'
])
->
name
(
'ensino_atendimento_discente_search'
);
Route
::
get
(
'/resolucao'
,
[
EnsinoAtendimentoDiscenteController
::
class
,
'viewResolucao'
])
->
name
(
'view_ensino_atendimento_discente_resolucao'
);
});
...
...
@@ -99,6 +100,7 @@ Route::prefix('/pad/dimensao/ensino/projeto')->group(function () {
Route
::
get
(
'/index/{user_pad_id}'
,
[
EnsinoProjetoController
::
class
,
'index'
])
->
name
(
'ensino_projeto_index'
);
Route
::
get
(
'/edit/{id?}'
,
[
EnsinoProjetoController
::
class
,
'edit'
])
->
name
(
'view_ensino_projeto_update'
);
Route
::
get
(
'/search/{user_pad_id?}'
,
[
EnsinoProjetoController
::
class
,
'search'
])
->
name
(
'ensino_projeto_search'
);
Route
::
get
(
'/resolucao'
,
[
EnsinoProjetoController
::
class
,
'viewResolucao'
])
->
name
(
'view_ensino_projeto_resolucao'
);
});
...
...
@@ -112,6 +114,7 @@ Route::prefix('/pad/dimensao/ensino/participacao')->group(function () {
Route
::
get
(
'/index/{user_pad_id}'
,
[
EnsinoParticipacaoController
::
class
,
'index'
])
->
name
(
'ensino_participacao_index'
);
Route
::
get
(
'/edit/{id?}'
,
[
EnsinoParticipacaoController
::
class
,
'edit'
])
->
name
(
'view_ensino_participacao_update'
);
Route
::
get
(
'/search/{user_pad_id?}'
,
[
EnsinoParticipacaoController
::
class
,
'search'
])
->
name
(
'ensino_participacao_search'
);
Route
::
get
(
'/resolucao'
,
[
EnsinoParticipacaoController
::
class
,
'viewResolucao'
])
->
name
(
'view_ensino_participacao_resolucao'
);
});
...
...
@@ -125,4 +128,5 @@ Route::prefix('/pad/dimensao/ensino/membro/docente')->group(function () {
Route
::
get
(
'/index/{user_pad_id}'
,
[
EnsinoMembroDocenteController
::
class
,
'index'
])
->
name
(
'ensino_membro_docente_index'
);
Route
::
get
(
'/edit/{id?}'
,
[
EnsinoMembroDocenteController
::
class
,
'edit'
])
->
name
(
'view_ensino_membro_docente_update'
);
Route
::
get
(
'/search/{user_pad_id?}'
,
[
EnsinoMembroDocenteController
::
class
,
'search'
])
->
name
(
'ensino_membro_docente_search'
);
Route
::
get
(
'/resolucao'
,
[
EnsinoMembroDocenteController
::
class
,
'viewResolucao'
])
->
name
(
'view_ensino_membro_docente_resolucao'
);
});
routes/dimensao/gestao.php
View file @
7bc0c0e7
...
...
@@ -44,6 +44,7 @@ Route::prefix('/pad/dimensao/gestao/membro/conselho')->group(function () {
Route
::
get
(
'/index/{user_pad_id}'
,
[
GestaoMembroConselhoController
::
class
,
'index'
])
->
name
(
'gestao_membro_conselho_index'
);
Route
::
get
(
'/edit/{id?}'
,
[
GestaoMembroConselhoController
::
class
,
'edit'
])
->
name
(
'view_gestao_membro_conselho_update'
);
Route
::
get
(
'/search/{user_pad_id?}'
,
[
GestaoMembroConselhoController
::
class
,
'search'
])
->
name
(
'gestao_membro_conselho_search'
);
Route
::
get
(
'/resolucao'
,
[
GestaoMembroConselhoController
::
class
,
'viewResolucao'
])
->
name
(
'view_gestao_membro_conselho_resolucao'
);
});
...
...
@@ -57,6 +58,7 @@ Route::prefix('/pad/dimensao/gestao/membro/titular/conselho')->group(function ()
Route
::
get
(
'/index/{user_pad_id}'
,
[
GestaoMembroTitularConselhoController
::
class
,
'index'
])
->
name
(
'gestao_membro_titular_conselho_index'
);
Route
::
get
(
'/edit/{id?}'
,
[
GestaoMembroTitularConselhoController
::
class
,
'edit'
])
->
name
(
'view_gestao_membro_titular_conselho_update'
);
Route
::
get
(
'/search/{user_pad_id?}'
,
[
GestaoMembroTitularConselhoController
::
class
,
'search'
])
->
name
(
'gestao_membro_titular_conselho_search'
);
Route
::
get
(
'/resolucao'
,
[
GestaoMembroTitularConselhoController
::
class
,
'viewResolucao'
])
->
name
(
'view_gestao_membro_titular_conselho_resolucao'
);
});
...
...
@@ -70,6 +72,7 @@ Route::prefix('/pad/dimensao/gestao/representante/unidade/educacao')->group(func
Route
::
get
(
'/index/{user_pad_id}'
,
[
GestaoRepresentanteUnidadeEducacaoController
::
class
,
'index'
])
->
name
(
'gestao_representante_unidade_educacao_index'
);
Route
::
get
(
'/edit/{id?}'
,
[
GestaoRepresentanteUnidadeEducacaoController
::
class
,
'edit'
])
->
name
(
'view_gestao_representante_unidade_educacao_update'
);
Route
::
get
(
'/search/{user_pad_id?}'
,
[
GestaoRepresentanteUnidadeEducacaoController
::
class
,
'search'
])
->
name
(
'gestao_representante_unidade_educacao_search'
);
Route
::
get
(
'/resolucao'
,
[
GestaoRepresentanteUnidadeEducacaoController
::
class
,
'viewResolucao'
])
->
name
(
'view_gestao_representante_unidade_educacao_resolucao'
);
});
...
...
@@ -83,6 +86,7 @@ Route::prefix('/pad/dimensao/gestao/membro/camaras')->group(function () {
Route
::
get
(
'/index/{user_pad_id}'
,
[
GestaoMembroCamarasController
::
class
,
'index'
])
->
name
(
'gestao_membro_camaras_index'
);
Route
::
get
(
'/edit/{id?}'
,
[
GestaoMembroCamarasController
::
class
,
'edit'
])
->
name
(
'view_gestao_membro_camaras_update'
);
Route
::
get
(
'/search/{user_pad_id?}'
,
[
GestaoMembroCamarasController
::
class
,
'search'
])
->
name
(
'gestao_membro_camaras_search'
);
Route
::
get
(
'/resolucao'
,
[
GestaoMembroCamarasController
::
class
,
'viewResolucao'
])
->
name
(
'view_gestao_membro_camaras_resolucao'
);
});
...
...
@@ -94,8 +98,9 @@ Route::prefix('/pad/dimensao/gestao/laboratorios/didaticos')->group(function ()
Route
::
delete
(
'/delete/{id}'
,
[
GestaoCoordenacaoLaboratoriosDidaticosController
::
class
,
'delete'
])
->
name
(
'gestao_coordenacao_laboratorios_didaticos_delete'
);
Route
::
get
(
'/index/{user_pad_id}'
,
[
GestaoCoordenacaoLaboratoriosDidaticosController
::
class
,
'index'
])
->
name
(
'gestao_coordenacao_laboratorios_didaticos_index'
);
Route
::
get
(
'/edit/{id?}'
,
[
GestaoCoordenacaoLaboratoriosDidaticosController
::
class
,
'edit'
])
->
name
(
'gestao_coordenacao_laboratorios_didaticos_update'
);
Route
::
get
(
'/edit/{id?}'
,
[
GestaoCoordenacaoLaboratoriosDidaticosController
::
class
,
'edit'
])
->
name
(
'
view_
gestao_coordenacao_laboratorios_didaticos_update'
);
Route
::
get
(
'/search/{user_pad_id?}'
,
[
GestaoCoordenacaoLaboratoriosDidaticosController
::
class
,
'search'
])
->
name
(
'gestao_coordenacao_laboratorios_didaticos_search'
);
Route
::
get
(
'/resolucao'
,
[
GestaoCoordenacaoLaboratoriosDidaticosController
::
class
,
'viewResolucao'
])
->
name
(
'view_gestao_coordenacao_laboratorios_didaticos_resolucao'
);
});
/** GestaoCoordenacaoProgramaInstitucionalController */
...
...
@@ -108,4 +113,5 @@ Route::prefix('/pad/dimensao/gestao/coordenacao/programa/institucional')->group(
Route
::
get
(
'/index/{user_pad_id}'
,
[
GestaoCoordenacaoProgramaInstitucionalController
::
class
,
'index'
])
->
name
(
'gestao_coordenacao_programa_institucional_index'
);
Route
::
get
(
'/edit/{id?}'
,
[
GestaoCoordenacaoProgramaInstitucionalController
::
class
,
'edit'
])
->
name
(
'view_gestao_coordenacao_programa_institucional_update'
);
Route
::
get
(
'/search/{user_pad_id?}'
,
[
GestaoCoordenacaoProgramaInstitucionalController
::
class
,
'search'
])
->
name
(
'gestao_coordenacao_programa_institucional_search'
);
Route
::
get
(
'/resolucao'
,
[
GestaoCoordenacaoProgramaInstitucionalController
::
class
,
'viewResolucao'
])
->
name
(
'view_gestao_coordenacao_programa_institucional_resolucao'
);
});
routes/dimensao/pesquisa.php
View file @
7bc0c0e7
...
...
@@ -26,9 +26,9 @@ Route::prefix('/pad/dimensao/pesquisa/coordenacao')->group(function () {
Route
::
get
(
'/index/{user_pad_id}'
,
[
PesquisaCoordenacaoController
::
class
,
'index'
])
->
name
(
'pesquisa_coordenacao_index'
);
Route
::
get
(
'/edit/{id?}'
,
[
PesquisaCoordenacaoController
::
class
,
'edit'
])
->
name
(
'view_pesquisa_coordenacao_update'
);
Route
::
get
(
'/search/{user_pad_id?}'
,
[
PesquisaCoordenacaoController
::
class
,
'search'
])
->
name
(
'pesquisa_coordenacao_search'
);
Route
::
get
(
'/resolucao'
,
[
PesquisaCoordenacaoController
::
class
,
'viewResolucao'
])
->
name
(
'view_pesquisa_coordenacao_resolucao'
);
});
/** PesquisaLiderancaController */
Route
::
prefix
(
'/pad/dimensao/pesquisa/lideranca'
)
->
group
(
function
()
{
Route
::
post
(
'/create'
,
[
PesquisaLiderancaController
::
class
,
'create'
])
->
name
(
'pesquisa_lideranca_create'
);
...
...
@@ -39,6 +39,7 @@ Route::prefix('/pad/dimensao/pesquisa/lideranca')->group(function () {
Route
::
get
(
'/index/{user_pad_id}'
,
[
PesquisaLiderancaController
::
class
,
'index'
])
->
name
(
'pesquisa_lideranca_index'
);
Route
::
get
(
'/edit/{id?}'
,
[
PesquisaLiderancaController
::
class
,
'edit'
])
->
name
(
'view_pesquisa_lideranca_update'
);
Route
::
get
(
'/search/{user_pad_id?}'
,
[
PesquisaLiderancaController
::
class
,
'search'
])
->
name
(
'pesquisa_lideranca_search'
);
Route
::
get
(
'/resolucao'
,
[
PesquisaLiderancaController
::
class
,
'viewResolucao'
])
->
name
(
'view_pesquisa_lideranca_resolucao'
);
});
...
...
@@ -52,4 +53,5 @@ Route::prefix('/pad/dimensao/pesquisa/orientacao')->group(function () {
Route
::
get
(
'/index/{user_pad_id}'
,
[
PesquisaOrientacaoController
::
class
,
'index'
])
->
name
(
'pesquisa_orientacao_index'
);
Route
::
get
(
'/edit/{id?}'
,
[
PesquisaOrientacaoController
::
class
,
'edit'
])
->
name
(
'view_pesquisa_orientacao_update'
);
Route
::
get
(
'/search/{user_pad_id?}'
,
[
PesquisaOrientacaoController
::
class
,
'search'
])
->
name
(
'pesquisa_orientacao_search'
);
Route
::
get
(
'/resolucao'
,
[
PesquisaOrientacaoController
::
class
,
'viewResolucao'
])
->
name
(
'view_pesquisa_orientacao_resolucao'
);
});
Prev
1
2
3
4
Next
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