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
5e2ce6b4
Commit
5e2ce6b4
authored
Oct 28, 2022
by
Azhan Hannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dashboard Hod → kalau takde tproject yg pending, tak perlu display
parent
d456d697
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
5 deletions
+19
-5
packages/portal/timesheet/resources/views/dashboard/dashboardhod.blade.php
+19
-5
No files found.
packages/portal/timesheet/resources/views/dashboard/dashboardhod.blade.php
View file @
5e2ce6b4
...
...
@@ -11,6 +11,13 @@
<?php
$page
= 1; ?>
@foreach(
$profile
as
$key
=>
$staff
)
@if(data_get(
$staff
,'status') == 2)
<?php
$detail
=
$details->where
('staffid',
$staff->staff_id
)->where('fk_tm_id',
$staff->tmid
)->where('tp_project_sts', 2);
$ts
=
$checkts->where
('tm_staff_id',
$staff->staff_id
);
// dump(
$detail
);
?>
@if(count(
$detail
) > 0)
<div class="
title
">
<table class="
ui
unstackable
celled
table
">
<thead>
...
...
@@ -50,11 +57,6 @@
</table>
</div>
<?php
$detail
=
$details->where
('staffid',
$staff->staff_id
);
$ts
=
$checkts->where
('tm_staff_id',
$staff->staff_id
);
?>
<div class="
content
" style="
padding
-
top
:
0
px
;
">
<table class="
ui
unstackable
celled
table
">
<thead>
...
...
@@ -177,7 +179,19 @@
@endif
</div>
@endif
@endif
@endforeach
@if(count(
$detail
) == 0)
<table class="
ui
unstackable
celled
table
">
<thead>
<tr>
<th class="
text
-
center
">No pending verification</th>
</tr>
</thead>
</table>
@endif
</div>
</div>
@endsection
...
...
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