Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
3
3f-timesheet
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dockers
3f-timesheet
Commits
9f896c9f
Commit
9f896c9f
authored
Oct 04, 2022
by
Azhan Hannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dashboard PM - click view error
parent
9dfc16c1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
packages/portal/timesheet/resources/views/dashboard/dashboardpm.blade.php
+1
-1
packages/portal/timesheet/src/Http/Controllers/DashboardController.php
+2
-1
No files found.
packages/portal/timesheet/resources/views/dashboard/dashboardpm.blade.php
View file @
9f896c9f
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
</th>
</th>
<th style="
width
:
13
%
" class="
text
-
center
">Submitted on:
{
{data_get($staff,'submission')}
}
</th>
<th style="
width
:
13
%
" class="
text
-
center
">Submitted on:
{
{data_get($staff,'submission')}
}
</th>
<th style="
width
:
12
%
" class="
text
-
center
">
<th style="
width
:
12
%
" class="
text
-
center
">
<button class="
center
aligned
ui
blue
icon
button
" onclick="
window
.
location
.
href
=
'{{ route('
timesheet
::
dashboard
.
timesheetViewer
', [ '
user
'=>data_get($staff,'
staff_id
') ,'
phase
' => data_get($staff,'
tp_phase
'), '
month
' => data_get($staff,'
tp_month
'), '
year
' => data_get($staff,'
tp_
year
')]) }}'
;
" target='_blank'>View</button>
<button class="
center
aligned
ui
blue
icon
button
" onclick="
window
.
location
.
href
=
'{{ route('
timesheet
::
dashboard
.
timesheetViewer
', [ '
user
'=>data_get($staff,'
staff_id
') ,'
phase
' => data_get($staff,'
phase
'), '
month
' => data_get($staff,'
month
'), '
year
' => data_get($staff,'
year
')]) }}'
;
" target='_blank'>View</button>
</th>
</th>
</tr>
</tr>
</thead>
</thead>
...
...
packages/portal/timesheet/src/Http/Controllers/DashboardController.php
View file @
9f896c9f
...
@@ -115,7 +115,8 @@ class DashboardController extends Controller
...
@@ -115,7 +115,8 @@ class DashboardController extends Controller
$profile
=
VwChargeableVerification
::
select
(
'tmid'
,
'staff_id'
,
'year'
,
'month'
,
'phase'
,
'status'
,
'submission'
,
'fullname'
,
'roleid'
,
'pmstaffid'
)
$profile
=
VwChargeableVerification
::
select
(
'tmid'
,
'staff_id'
,
'year'
,
'month'
,
'phase'
,
'status'
,
'submission'
,
'fullname'
,
'roleid'
,
'pmstaffid'
)
->
where
(
'pmstaffid'
,
$verifier
->
u_staffID
)
->
where
(
'pmstaffid'
,
$verifier
->
u_staffID
)
->
where
(
'status'
,
2
)
->
where
(
'status'
,
2
)
->
distinct
(
'staff_id'
)
->
groupby
(
'staff_id'
)
// ->distinct('staff_id')
->
orderby
(
'roleid'
)
->
orderby
(
'roleid'
)
->
with
(
'countchargeable'
)
->
with
(
'countchargeable'
)
->
get
();
->
get
();
...
...
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