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
d3680abf
Commit
d3680abf
authored
Jan 16, 2023
by
Azhan Hannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
d1118f13
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
packages/portal/timesheet/src/Http/Controllers/DashboardController.php
+2
-2
No files found.
packages/portal/timesheet/src/Http/Controllers/DashboardController.php
View file @
d3680abf
...
@@ -229,7 +229,7 @@ class DashboardController extends Controller
...
@@ -229,7 +229,7 @@ class DashboardController extends Controller
$verifier
=
Users
::
find
(
Auth
::
id
());
$verifier
=
Users
::
find
(
Auth
::
id
());
$profile
=
VwChargeableVerification
::
select
(
'tmid'
,
'staff_id'
,
'year'
,
'month'
,
'phase'
,
'status'
,
'submission'
,
'fullname'
,
'
roleid'
,
'
pmstaffid'
,
'dept'
)
$profile
=
VwChargeableVerification
::
select
(
'tmid'
,
'staff_id'
,
'year'
,
'month'
,
'phase'
,
'status'
,
'submission'
,
'fullname'
,
'pmstaffid'
,
'dept'
)
->
where
(
'pmstaffid'
,
$verifier
->
u_staffID
)
->
where
(
'pmstaffid'
,
$verifier
->
u_staffID
)
// ->where('status', '<>', 1)
// ->where('status', '<>', 1)
->
whereIn
(
'status'
,
[
2
,
3
,
5
,
6
])
->
whereIn
(
'status'
,
[
2
,
3
,
5
,
6
])
...
@@ -239,7 +239,7 @@ class DashboardController extends Controller
...
@@ -239,7 +239,7 @@ class DashboardController extends Controller
->
with
(
'countoverhead'
)
->
with
(
'countoverhead'
)
// ->with('department')
// ->with('department')
->
get
();
->
get
();
//
dd($profile);
dd
(
$profile
);
$staffnotes
=
Tproject
::
where
(
'tp_project_type'
,
3
)
$staffnotes
=
Tproject
::
where
(
'tp_project_type'
,
3
)
->
whereIn
(
'tp_timesheet_sts'
,
[
2
,
3
,
5
,
6
])
->
whereIn
(
'tp_timesheet_sts'
,
[
2
,
3
,
5
,
6
])
->
where
(
'staffid'
,
$verifier
->
u_staffID
)
->
where
(
'staffid'
,
$verifier
->
u_staffID
)
...
...
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