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
3ff0b3f9
Commit
3ff0b3f9
authored
Dec 22, 2022
by
alissonalbuquerque
Browse files
remove contador de horas gerais
parent
e94c319a
Changes
3
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/PadController.php
View file @
3ff0b3f9
...
...
@@ -109,8 +109,6 @@ class PadController extends Controller
+
ExtensaoOrientacao
::
whereUserPadId
(
$id
)
->
sum
(
'ch_semanal'
)
+
ExtensaoOutros
::
whereUserPadId
(
$id
)
->
sum
(
'ch_semanal'
);
$padTotalHoras
=
$gestaoTotalHoras
+
$ensinoTotalHoras
+
$pesquisaTotalHoras
+
$extensaoTotalHoras
;
$menu
=
Menu
::
PADS
;
return
view
(
'pad.teacher.view'
,
[
'menu'
=>
$menu
,
...
...
resources/views/layouts/user-dashboard/dashboard_teacher.blade.php
View file @
3ff0b3f9
...
...
@@ -24,7 +24,7 @@
<
h1
class
=
"text-center"
>
<
i
class
=
"bi bi-book-half"
></
i
>
</
h1
>
<
h5
class
=
"text-center"
>
PAD
:
{{
$userPad
->
pad
->
nome
}}
</
h4
>
<
div
class
=
"text-center"
>
<
h4
class
=
"h5"
>
<
span
class
=
"badge bg-primary"
>
Horas
:
{{
$userPad
->
pad
->
getTotalHoras
()
}}
</
span
>
</
h4
>
<!--
<
h4
class
=
"h5"
>
<
span
class
=
"badge bg-primary"
>
Horas
:
{{
$userPad
->
pad
->
getTotalHoras
()
}}
</
span
>
</
h4
>
-->
</
div
>
<
a
class
=
"stretched-link"
href
=
"{{ route('pad_view', ['id' =>
$userPad->id
]) }}"
></
a
>
</
div
>
...
...
resources/views/pad/teacher/index.blade.php
View file @
3ff0b3f9
...
...
@@ -31,7 +31,7 @@
<
h1
class
=
"text-center"
>
<
i
class
=
"bi bi-book-half"
></
i
>
</
h1
>
<
h5
class
=
"text-center"
>
PAD
:
{{
$userPad
->
pad
->
nome
}}
</
h4
>
<
div
class
=
"text-center"
>
<
h4
class
=
"h5"
>
<
span
class
=
"badge bg-primary"
>
Horas
:
{{
$userPad
->
pad
->
getTotalHoras
()
}}
</
span
>
</
h4
>
<!--
<
h4
class
=
"h5"
>
<
span
class
=
"badge bg-primary"
>
Horas
:
{{
$userPad
->
pad
->
getTotalHoras
()
}}
</
span
>
</
h4
>
-->
</
div
>
<
a
class
=
"stretched-link"
href
=
"{{ route('pad_view', ['id' =>
$userPad->id
]) }}"
></
a
>
</
div
>
...
...
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