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
b0c2b7fb
Commit
b0c2b7fb
authored
Dec 20, 2022
by
Azhan Hannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log pia #175 -> en amar tak dapat timesheet idayu bila resubmit
parent
991a4b61
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
packages/portal/timesheet/resources/views/dashboard/dashboardbod.blade.php
+1
-1
packages/portal/timesheet/src/Http/Controllers/DashboardController.php
+2
-2
No files found.
packages/portal/timesheet/resources/views/dashboard/dashboardbod.blade.php
View file @
b0c2b7fb
...
@@ -297,7 +297,7 @@
...
@@ -297,7 +297,7 @@
<div
class=
"ui styled fluid accordion"
>
<div
class=
"ui styled fluid accordion"
>
<?php
$page
=
1
;
?>
<?php
$page
=
1
;
?>
@foreach($profile as $key => $staff)
@foreach($profile as $key => $staff)
@if(data_get($staff,'status') == 2 || data_get($staff,'status') == 3 || data_get($staff,'status') == 6 )
@if(data_get($staff,'status') == 2 || data_get($staff,'status') == 3 || data_get($staff,'status') ==
5 || data_get($staff,'status') ==
6 )
<?php
<?php
$detail
=
$detailsverification
->
where
(
'staffid'
,
$staff
->
staff_id
)
->
where
(
'fk_tm_id'
,
$staff
->
tmid
)
->
where
(
'tp_project_type'
,
3
)
->
whereIn
(
'tp_timesheet_sts'
,
[
2
,
3
,
6
]);
$detail
=
$detailsverification
->
where
(
'staffid'
,
$staff
->
staff_id
)
->
where
(
'fk_tm_id'
,
$staff
->
tmid
)
->
where
(
'tp_project_type'
,
3
)
->
whereIn
(
'tp_timesheet_sts'
,
[
2
,
3
,
6
]);
$ts
=
$checkts
->
where
(
'tm_staff_id'
,
$staff
->
staff_id
);
$ts
=
$checkts
->
where
(
'tm_staff_id'
,
$staff
->
staff_id
);
...
...
packages/portal/timesheet/src/Http/Controllers/DashboardController.php
View file @
b0c2b7fb
...
@@ -139,7 +139,7 @@ class DashboardController extends Controller
...
@@ -139,7 +139,7 @@ class DashboardController extends Controller
$verifier
=
Users
::
find
(
Auth
::
id
());
$verifier
=
Users
::
find
(
Auth
::
id
());
$profile
=
VwReviewProfile
::
where
(
'hod_id'
,
$verifier
->
id
)
$profile
=
VwReviewProfile
::
where
(
'hod_id'
,
$verifier
->
id
)
->
whereIn
(
'status'
,
[
2
,
3
,
6
])
->
whereIn
(
'status'
,
[
2
,
3
,
5
,
6
])
->
with
(
'overheads'
)
->
with
(
'overheads'
)
->
orderby
(
'tm_year'
,
'desc'
)
->
orderby
(
'tm_year'
,
'desc'
)
->
orderby
(
'tm_month'
,
'desc'
)
->
orderby
(
'tm_month'
,
'desc'
)
...
@@ -152,7 +152,7 @@ class DashboardController extends Controller
...
@@ -152,7 +152,7 @@ class DashboardController extends Controller
->
with
(
'notes'
)
->
with
(
'notes'
)
->
get
();
->
get
();
$checkts
=
Ts_master
::
whereIn
(
'tm_timesheet_master_sts'
,
[
2
,
3
,
6
])
$checkts
=
Ts_master
::
whereIn
(
'tm_timesheet_master_sts'
,
[
2
,
3
,
5
,
6
])
->
with
(
'attachement'
)
->
with
(
'attachement'
)
->
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