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
963c0a86
Commit
963c0a86
authored
Dec 20, 2022
by
Azhan Hannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes log pia -> pm tak dapat staff yg direject pd -> resubmit function
parent
6380ef38
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
packages/portal/timesheet/resources/views/dashboard/dashboardpm.blade.php
+1
-1
packages/portal/timesheet/src/Http/Controllers/DashboardController.php
+1
-1
No files found.
packages/portal/timesheet/resources/views/dashboard/dashboardpm.blade.php
View file @
963c0a86
...
...
@@ -250,7 +250,7 @@
$allproject
= count(data_get(
$profile[$key]
, 'countchargeable'));
?>
@if(
$status
== 1 ||
$status
== null) In Preparation
@elseif(
$verified
==
$allproject
) <i class="
green
check
icon
"></i> Verified by PM
@elseif(
$verified
==
$allproject
||
$status
== 3
) <i class="
green
check
icon
"></i> Verified by PM
@elseif(
$status
== 2) <i class="
red
attention
icon
"></i> Submitted
@elseif(
$status
== 4) <i class="
green
check
icon
"></i>Verified by PD
@elseif(
$status
== 5) <i class="
red
attention
icon
"></i>Dissaproved by PD
...
...
packages/portal/timesheet/src/Http/Controllers/DashboardController.php
View file @
963c0a86
...
...
@@ -166,7 +166,7 @@ class DashboardController extends Controller
$profile
=
VwChargeableVerification
::
select
(
'tmid'
,
'staff_id'
,
'year'
,
'month'
,
'phase'
,
'status'
,
'submission'
,
'fullname'
,
'pmstaffid'
)
->
where
(
'pmstaffid'
,
$verifier
->
u_staffID
)
->
whereIn
(
'status'
,
[
2
,
6
])
->
whereIn
(
'status'
,
[
2
,
3
,
6
])
// ->groupby('staff_id')
->
distinct
(
'staff_id'
)
->
orderby
(
'year'
,
'desc'
)
...
...
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