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
0e8df8db
Commit
0e8df8db
authored
Mar 03, 2023
by
Yuri Resende
Browse files
Atualizando o fork
parent
6295b7c8
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/AdministradorController.php
View file @
0e8df8db
...
...
@@ -1302,4 +1302,4 @@ class AdministradorController extends Controller
return
$pdf
->
setPaper
(
'a4'
)
->
stream
(
'Resultados.pdf'
);
}
}
}
\ No newline at end of file
app/Http/Controllers/AvaliacaoRelatorioController.php
View file @
0e8df8db
...
...
@@ -17,13 +17,6 @@ use Auth;
class
AvaliacaoRelatorioController
extends
Controller
{
public
function
create
()
{
}
public
function
listarUser
(
$id
){
$avaliacao
=
AvaliacaoRelatorio
::
find
(
$id
);
...
...
@@ -66,8 +59,10 @@ class AvaliacaoRelatorioController extends Controller
public
function
criar
(
Request
$request
){
$validatedData
=
$request
->
validate
([
'nota'
=>
[
'required'
],
'nota_apresentacao'
=>
[
'required'
],
'comentario'
=>
[
'required'
],
]);
$avaliacao
=
AvaliacaoRelatorio
::
find
(
$request
->
avaliacao_id
);
if
(
$request
->
avaliacaoArq
!=
null
){
...
...
@@ -77,6 +72,7 @@ class AvaliacaoRelatorioController extends Controller
}
$plano
=
Arquivo
::
find
(
$request
->
plano_id
);
$avaliacao
->
nota
=
$request
->
nota
;
$avaliacao
->
nota_apresentacao
=
$request
->
nota_apresentacao
;
$avaliacao
->
comentario
=
$request
->
comentario
;
$avaliacao
->
update
();
...
...
database/migrations/2023_03_03_160243_add_nota_apresentacao_to_avaliacao_relatorios.php
0 → 100644
View file @
0e8df8db
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
AddNotaApresentacaoToAvaliacaoRelatorios
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
table
(
'avaliacao_relatorios'
,
function
(
Blueprint
$table
)
{
$table
->
float
(
'nota_apresentacao'
)
->
nullable
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
table
(
'avaliacao_relatorios'
,
function
(
Blueprint
$table
)
{
$table
->
dropColumn
(
'nota_apresentacao'
);
});
}
}
resources/views/administrador/analisarProposta.blade.php
View file @
0e8df8db
...
...
@@ -2282,4 +2282,4 @@
}
}
</
script
>
@
endsection
@
endsection
\ No newline at end of file
resources/views/avaliacaoRelatorio/listar.blade.php
View file @
0e8df8db
This diff is collapsed.
Click to expand it.
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