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
70a1f367
Commit
70a1f367
authored
Jul 27, 2022
by
alissonalbuquerque
Browse files
add rotas e migrations de dimensoes: extensao & gestao
parent
ae24a02f
Changes
61
Hide whitespace changes
Inline
Side-by-side
database/migrations/2022_07_17_024129_create_pesquisa_orientacao_table.php
View file @
70a1f367
...
@@ -16,7 +16,7 @@ class CreatePesquisaOrientacaoTable extends Migration
...
@@ -16,7 +16,7 @@ class CreatePesquisaOrientacaoTable extends Migration
Schema
::
create
(
'pesquisa_orientacao'
,
function
(
Blueprint
$table
)
{
Schema
::
create
(
'pesquisa_orientacao'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
id
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
null
able
();
$table
->
tinyInteger
(
'dimensao'
)
->
n
otN
ull
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'titulo_projeto'
)
->
notNull
();
$table
->
string
(
'titulo_projeto'
)
->
notNull
();
$table
->
string
(
'nome_orientando'
)
->
notNull
();
$table
->
string
(
'nome_orientando'
)
->
notNull
();
...
...
database/migrations/2022_07_25_195418_create_ensino_supervisao_table.php
View file @
70a1f367
...
@@ -16,7 +16,7 @@ class CreateEnsinoSupervisaoTable extends Migration
...
@@ -16,7 +16,7 @@ class CreateEnsinoSupervisaoTable extends Migration
Schema
::
create
(
'ensino_supervisao'
,
function
(
Blueprint
$table
)
{
Schema
::
create
(
'ensino_supervisao'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
id
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
null
able
();
$table
->
tinyInteger
(
'dimensao'
)
->
n
otN
ull
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'atividade'
)
->
notNull
();
$table
->
string
(
'atividade'
)
->
notNull
();
$table
->
string
(
'curso'
)
->
notNull
();
$table
->
string
(
'curso'
)
->
notNull
();
...
...
database/migrations/2022_07_25_195833_create_ensino_atendimento_discente_table.php
View file @
70a1f367
...
@@ -16,7 +16,7 @@ class CreateEnsinoAtendimentoDiscenteTable extends Migration
...
@@ -16,7 +16,7 @@ class CreateEnsinoAtendimentoDiscenteTable extends Migration
Schema
::
create
(
'ensino_atendimento_discente'
,
function
(
Blueprint
$table
)
{
Schema
::
create
(
'ensino_atendimento_discente'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
id
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
null
able
();
$table
->
tinyInteger
(
'dimensao'
)
->
n
otN
ull
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'componente_curricular'
)
->
notNull
();
$table
->
string
(
'componente_curricular'
)
->
notNull
();
$table
->
string
(
'curso'
)
->
notNull
();
$table
->
string
(
'curso'
)
->
notNull
();
...
...
database/migrations/2022_07_25_200001_create_ensino_projeto_table.php
View file @
70a1f367
...
@@ -16,7 +16,7 @@ class CreateEnsinoProjetoTable extends Migration
...
@@ -16,7 +16,7 @@ class CreateEnsinoProjetoTable extends Migration
Schema
::
create
(
'ensino_projeto'
,
function
(
Blueprint
$table
)
{
Schema
::
create
(
'ensino_projeto'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
id
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
null
able
();
$table
->
tinyInteger
(
'dimensao'
)
->
n
otN
ull
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'titulo'
)
->
notNull
();
$table
->
string
(
'titulo'
)
->
notNull
();
$table
->
string
(
'curso'
)
->
notNull
();
$table
->
string
(
'curso'
)
->
notNull
();
...
...
database/migrations/2022_07_25_200311_create_ensino_participacao_table.php
View file @
70a1f367
...
@@ -16,7 +16,7 @@ class CreateEnsinoParticipacaoTable extends Migration
...
@@ -16,7 +16,7 @@ class CreateEnsinoParticipacaoTable extends Migration
Schema
::
create
(
'ensino_participacao'
,
function
(
Blueprint
$table
)
{
Schema
::
create
(
'ensino_participacao'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
id
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
null
able
();
$table
->
tinyInteger
(
'dimensao'
)
->
n
otN
ull
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'curso'
)
->
notNull
();
$table
->
string
(
'curso'
)
->
notNull
();
$table
->
tinyInteger
(
'nivel'
)
->
notNull
();
$table
->
tinyInteger
(
'nivel'
)
->
notNull
();
...
...
database/migrations/2022_07_25_201036_create_ensino_coordenacao_regencia_table.php
View file @
70a1f367
...
@@ -16,7 +16,7 @@ class CreateEnsinoCoordenacaoRegenciaTable extends Migration
...
@@ -16,7 +16,7 @@ class CreateEnsinoCoordenacaoRegenciaTable extends Migration
Schema
::
create
(
'ensino_coordenacao_regencia'
,
function
(
Blueprint
$table
)
{
Schema
::
create
(
'ensino_coordenacao_regencia'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
id
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
null
able
();
$table
->
tinyInteger
(
'dimensao'
)
->
n
otN
ull
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'componente_curricular'
)
->
notNull
();
$table
->
string
(
'componente_curricular'
)
->
notNull
();
$table
->
string
(
'curso'
)
->
notNull
();
$table
->
string
(
'curso'
)
->
notNull
();
...
...
database/migrations/2022_07_25_201222_create_ensino_membro_docente_table.php
View file @
70a1f367
...
@@ -16,7 +16,7 @@ class CreateEnsinoMembroDocenteTable extends Migration
...
@@ -16,7 +16,7 @@ class CreateEnsinoMembroDocenteTable extends Migration
Schema
::
create
(
'ensino_membro_docente'
,
function
(
Blueprint
$table
)
{
Schema
::
create
(
'ensino_membro_docente'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
id
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
null
able
();
$table
->
tinyInteger
(
'dimensao'
)
->
n
otN
ull
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'nucleo'
)
->
notNull
();
$table
->
string
(
'nucleo'
)
->
notNull
();
$table
->
string
(
'documento'
)
->
notNull
();
$table
->
string
(
'documento'
)
->
notNull
();
...
...
database/migrations/2022_07_28_015607_create_extensao_coordenacao_table.php
0 → 100644
View file @
70a1f367
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
CreateExtensaoCoordenacaoTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'extensao_coordenacao'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
notNull
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'titulo_projeto'
)
->
notNull
();
$table
->
string
(
'programa_extensao'
)
->
notNull
();
$table
->
tinyInteger
(
'funcao'
)
->
notNull
();
$table
->
integer
(
'ch_semanal'
)
->
notNull
();
$table
->
text
(
'atividade'
)
->
notNull
();
$table
->
timestamps
();
$table
->
softDeletes
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'extensao_coordenacao'
);
}
}
database/migrations/2022_07_28_020259_create_extensao_orientacao_table.php
0 → 100644
View file @
70a1f367
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
CreateExtensaoOrientacaoTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'extensao_orientacao'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
notNull
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'titulo_projeto'
)
->
notNull
();
$table
->
string
(
'discente'
)
->
notNull
();
$table
->
tinyInteger
(
'funcao'
)
->
notNull
();
$table
->
integer
(
'ch_semanal'
)
->
notNull
();
$table
->
timestamps
();
$table
->
softDeletes
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'extensao_orientacao'
);
}
}
database/migrations/2022_07_28_021811_create_gestao_membro_comissao_table.php
0 → 100644
View file @
70a1f367
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
CreateGestaoMembroComissaoTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'gestao_membro_comissao'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
notNull
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'nome'
)
->
notNull
();
$table
->
string
(
'documento'
)
->
notNull
();
$table
->
integer
(
'ch_semanal'
)
->
notNull
();
$table
->
timestamps
();
$table
->
softDeletes
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'gestao_membro_comissao'
);
}
}
database/migrations/2022_07_28_021944_create_gestao_membro_conselho_table.php
0 → 100644
View file @
70a1f367
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
CreateGestaoMembroConselhoTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'gestao_membro_conselho'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
notNull
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'nome'
)
->
notNull
();
$table
->
string
(
'documento'
)
->
notNull
();
$table
->
integer
(
'ch_semanal'
)
->
notNull
();
$table
->
timestamps
();
$table
->
softDeletes
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'gestao_membro_conselho'
);
}
}
database/migrations/2022_07_28_022027_create_gestao_membro_titular_conselho_table.php
0 → 100644
View file @
70a1f367
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
CreateGestaoMembroTitularConselhoTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'gestao_membro_titular_conselho'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
notNull
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'nome'
)
->
notNull
();
$table
->
string
(
'documento'
)
->
notNull
();
$table
->
integer
(
'ch_semanal'
)
->
notNull
();
$table
->
timestamps
();
$table
->
softDeletes
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'gestao_membro_titular_conselho'
);
}
}
database/migrations/2022_07_28_022111_create_gestao_representante_unidade_educacao_table.php
0 → 100644
View file @
70a1f367
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
CreateGestaoRepresentanteUnidadeEducacaoTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'gestao_representante_unidade_educacao'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
notNull
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'nome'
)
->
notNull
();
$table
->
string
(
'documento'
)
->
notNull
();
$table
->
integer
(
'ch_semanal'
)
->
notNull
();
$table
->
timestamps
();
$table
->
softDeletes
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'gestao_representante_unidade_educacao'
);
}
}
database/migrations/2022_07_28_022147_create_gestao_membro_camaras_table.php
0 → 100644
View file @
70a1f367
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
CreateGestaoMembroCamarasTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'gestao_membro_camaras'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
notNull
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'nome'
)
->
notNull
();
$table
->
string
(
'documento'
)
->
notNull
();
$table
->
integer
(
'ch_semanal'
)
->
notNull
();
$table
->
timestamps
();
$table
->
softDeletes
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'gestao_membro_camaras'
);
}
}
database/migrations/2022_07_28_022213_create_gestao_coordenacao_laboratorios_didaticos_table.php
0 → 100644
View file @
70a1f367
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
CreateGestaoCoordenacaoLaboratoriosDidaticosTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'gestao_coordenacao_laboratorios_didaticos'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
notNull
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'nome'
)
->
notNull
();
$table
->
string
(
'documento'
)
->
notNull
();
$table
->
integer
(
'ch_semanal'
)
->
notNull
();
$table
->
timestamps
();
$table
->
softDeletes
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'gestao_coordenacao_laboratorios_didaticos'
);
}
}
database/migrations/2022_07_28_022242_create_gestao_coordenacao_programa_institucional_table.php
0 → 100644
View file @
70a1f367
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
CreateGestaoCoordenacaoProgramaInstitucionalTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'gestao_coordenacao_programa_institucional'
,
function
(
Blueprint
$table
)
{
$table
->
id
();
$table
->
foreignId
(
'user_pad_id'
)
->
notNull
();
$table
->
tinyInteger
(
'dimensao'
)
->
notNull
();
$table
->
string
(
'cod_atividade'
)
->
notNull
();
$table
->
string
(
'nome'
)
->
notNull
();
$table
->
string
(
'documento'
)
->
notNull
();
$table
->
integer
(
'ch_semanal'
)
->
notNull
();
$table
->
timestamps
();
$table
->
softDeletes
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'gestao_coordenacao_programa_institucional'
);
}
}
resources/views/pad/components/templates/dimensao/ensino/
coordenacao_disciplina
/form_
upd
ate.blade.php
→
resources/views/pad/components/templates/dimensao/ensino/
atendimento_discente
/form_
cre
ate.blade.php
View file @
70a1f367
File moved
resources/views/pad/components/templates/dimensao/ensino/atendimento_discente/form_update.blade.php
0 → 100644
View file @
70a1f367
resources/views/pad/components/templates/dimensao/ensino/coordenacao_disciplina/form_create.blade.php
deleted
100644 → 0
View file @
ae24a02f
<div
id=
"ensino_coordenacao_disciplina"
class=
""
>
<div>
<div
class=
"mb-3"
>
<h3
class=
"h3"
>
Ensino - Coordenação (disciplinas)
</h3
class="h3"
>
</div>
<form
action=
"{{-- route('') --}}"
method=
"post"
id=
"ensino_coordenacao_disciplina-form"
class=
""
>
@csrf
<div
class=
"row"
>
<input
type=
"hidden"
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"
type=
"text"
name=
"cod_atividade"
id=
"cod_atividade"
disabled
readonly
>
</div>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"componente_curricular"
>
Componente Curricular
</label>
<input
class=
"form-control"
type=
"text"
name=
"componente_curricular"
id=
"componente_curricular"
value=
"{{ old('componente_curricular') }}"
>
@include('components.divs.errors', [
'form' => 'ensino_coordenacao_disciplina_form_create',
'field' => 'componente_curricular',
])
</div>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"curso"
>
Curso
</label>
<input
class=
"form-control"
type=
"text"
name=
"curso"
id=
"curso"
value=
"{{ old('curso') }}"
>
@include('components.divs.errors', [
'form' => 'ensino_coordenacao_disciplina_form_create',
'field' => 'curso',
])
</div>
<div
class=
"mb-3 col-sm-3"
>
<label
class=
"form-label"
for=
"nivel"
>
Nível
</label>
<select
class=
"form-select"
name=
"nivel"
id=
"nivel"
>
<option
selected
value=
"0"
>
Selecione um Nível
</option>
<option
value=
"0"
>
Selecione um Nível
</option>
@foreach($niveis as $value => $nivel)
@if( $value == old('nivel') )
<option
selected
value=
"{{$value}}"
>
{{$nivel}}
</option>
@else
<option
value=
"{{$value}}"
>
{{$nivel}}
</option>
@endif
@endforeach
</select>
@include('components.divs.errors', [
'form' => 'ensino_coordenacao_disciplina_form_create',
'field' => 'nivel',
])
</div>
<div
class=
"mb-3 col-sm-3"
>
<label
class=
"form-label"
for=
"modalidade"
>
Modalidade
</label>
<select
class=
"form-select"
name=
"modalidade"
id=
"modalidade"
>
<option
value=
"0"
>
Selecione uma Modalidade
</option>
@foreach($modalidades as $value => $modalidade)
@if( $value == old('modalidade') )
<option
selected
value=
"{{$value}}"
>
{{$modalidade}}
</option>
@else
<option
value=
"{{$value}}"
>
{{$modalidade}}
</option>
@endif
@endforeach
</select>
@include('components.divs.errors', [
'form' => 'ensino_coordenacao_disciplina_form_create',
'field' => 'modalidade',
])
</div>
<div
class=
"mb-3 col-sm-2"
>
<label
class=
"form-label"
for=
"ch_semanal"
>
CH. Semanal
</label>
<input
class=
"form-control"
type=
"number"
name=
"ch_semanal"
id=
"ch_semanal"
>
@include('components.divs.errors', [
'form' => 'ensino_coordenacao_disciplina_form_create',
'field' => 'ch_semanal',
])
</div>
</div>
<div
class=
"mt-1 text-end"
>
@include('components.buttons.btn-save', [
'id' => '',
'content' => 'Cadastrar',
])
</div>
</form>
</div>
<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"
>
Componente Curricular
</th>
<th
scope=
"col"
>
Curso
</th>
<th
scope=
"col"
>
Nível
</th>
<th
scope=
"col"
>
Modalidade
</th>
<th
scope=
"col"
>
CH Semanal
</th>
<th
scope=
"col"
>
Opções
</th>
</tr>
</thead>
<tbody>
@foreach($ensinoCoordenacaoDisciplinas as $ensinoCoordenacaoDisciplina)
<tr>
<td>
{{ $ensinoCoordenacaoDisciplina->cod_atividade }}
</td>
<td>
{{ $ensinoCoordenacaoDisciplina->componente_curricular }}
</td>
<td>
{{ $ensinoCoordenacaoDisciplina->curso }}
</td>
<td>
{{ $ensinoCoordenacaoDisciplina->nivelAsString() }}
</td>
<td>
{{ $ensinoCoordenacaoDisciplina->modalidadeAsString() }}
</td>
<td>
{{ $ensinoCoordenacaoDisciplina->ch_semanal }}
</td>
<td>
@include('components.buttons.btn-edit-task', [
'btn_class' => 'btn-edit_ensino_coordenacao_disciplina',
'btn_id' => $ensinoCoordenacaoDisciplina->id,
])
@include('components.buttons.btn-delete', [
'id' => $ensinoCoordenacaoDisciplina->id,
'route' => route('ensino_coordenacao_disciplina_delete', ['id' => $ensinoCoordenacaoDisciplina->id])
])
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
\ No newline at end of file
resources/views/pad/components/templates/dimensao/ensino/ensino_atendimento_discente.blade.php
deleted
100644 → 0
View file @
ae24a02f
<div
id=
"ensino_atendimento_discente"
class=
""
>
<div>
<div
class=
"mb-3"
>
<h3
class=
"h3"
>
Ensino - Atendimento ao Discente
</h3
class="h3"
>
</div>
<form
action=
"{{--route('')--}}"
method=
"post"
id=
"ensino_atendimento_discente-form"
class=
""
>
@csrf
<div
class=
"row"
>
<input
type=
"hidden"
name=
"pad_id"
value=
{{1}}
>
<div
class=
"mb-3 col-sm-2"
>
<label
class=
"form-label"
for=
"cod_atividade"
>
Cód. Atividade
</label>
<input
class=
"form-control"
type=
"text"
name=
"cod_atividade"
id=
"cod_atividade"
disabled
readonly
>
</div>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"componente_curricular"
>
Componente Curricular
</label>
<input
class=
"form-control"
type=
"text"
name=
"componente_curricular"
id=
"componente_curricular"
>
</div>
<div
class=
"mb-3 col-sm-5"
>
<label
class=
"form-label"
for=
"curso"
>
Curso
</label>
<input
class=
"form-control"
type=
"text"
name=
"curso"
id=
"curso"
>
</div>
<div
class=
"mb-3 col-sm-3"
>
<label
class=
"form-label"
for=
"nivel"
>
Nível
</label>
<select
class=
"form-select"
name=
"nivel"
id=
"nivel"
>
<option
selected
value=
"0"
>
Selecione um Nível
</option>
@foreach($niveis as $value => $nivel)
<option
value=
"{{$value}}"
>
{{$nivel}}
</option>
@endforeach
</select>
</div>
<div
class=
"mb-3 col-sm-2"
>
<label
class=
"form-label"
for=
"ch_semanal"
>
CH. Semanal
</label>
<input
class=
"form-control"
type=
"number"
name=
"ch_semanal"
id=
"ch_semanal"
>
</div>
</div>
<div
class=
"mt-1 text-end"
>
<button
type=
"submit"
class=
"btn btn-success rounded"
>
Cadastrar
</button>
</div>
</form>
</div>
<div
class=
""
id=
""
>
@include('pad.components.templates.table', ['table_id' => 'ensino_atendimento_discente-table', 'colunas' => ['Cód', ]])
</div>
</div>
\ No newline at end of file
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