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
a2f87f27
Commit
a2f87f27
authored
Sep 29, 2022
by
Azhan Hannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes
parent
07791583
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
packages/portal/timesheet/resources/views/dashboard/dashboardpmhod.blade.php
+3
-4
packages/portal/timesheet/src/Http/Controllers/DashboardController.php
+1
-1
No files found.
packages/portal/timesheet/resources/views/dashboard/dashboardpmhod.blade.php
View file @
a2f87f27
...
...
@@ -14,6 +14,7 @@
<?php
$project
= count(data_get(
$staff
,'countchargeable')->where('tp_pm',
$verifier->u_staffID
));
$checksts
= count(data_get(
$staff
,'countchargeable')->where('tp_pm',
$verifier->u_staffID
)->where('tp_timesheet_sts', 3));
?>
@if(
$project
==
$checksts
)
...
...
@@ -96,7 +97,7 @@
$overhead
=
$overheads->where
('staffid',
$staff->staff_id
);
$checkoverhead
=
$overheads->where
('staffid',
$staff->staff_id
)->first();
?>
@if(
$checkoverhead
)
<table class="
ui
unstackable
celled
table
">
<thead>
...
...
@@ -164,9 +165,7 @@
@endif
</div>
@endif
@endif
@endforeach
</div>
...
...
packages/portal/timesheet/src/Http/Controllers/DashboardController.php
View file @
a2f87f27
...
...
@@ -375,7 +375,7 @@ class DashboardController extends Controller
$details
=
Tproject
::
where
(
'tp_year'
,
$curryear
)
->
where
(
'tp_month'
,
$month
)
->
where
(
'tp_phase'
,
$phase
)
->
where
(
'tp_timesheet_sts'
,
2
)
//
->where('tp_timesheet_sts', 2)
->
where
(
'tp_pm'
,
$verifier
->
u_staffID
)
->
with
(
'project'
)
->
with
(
'pm'
)
...
...
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