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
33cd0610
Commit
33cd0610
authored
Jul 11, 2023
by
Azhan Hannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert auto verified pms -> bila tak ada hod pms
parent
4a534c31
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
21 deletions
+21
-21
packages/portal/timesheet/src/Http/Controllers/DashboardController.php
+21
-21
No files found.
packages/portal/timesheet/src/Http/Controllers/DashboardController.php
View file @
33cd0610
...
@@ -2043,30 +2043,30 @@ class DashboardController extends Controller
...
@@ -2043,30 +2043,30 @@ class DashboardController extends Controller
}
}
// overwrite status project - case -> en fairuz takda
// overwrite status project - case -> en fairuz takda
$checkoverwrite
=
Tproject
::
where
(
'tp_project_type'
,
1
)
//
$checkoverwrite = Tproject::where('tp_project_type', 1)
->
where
(
'fk_tm_id'
,
$request
->
tid
)
//
->where('fk_tm_id',$request->tid)
->
first
();
//
->first();
if
(
$checkoverwrite
)
//
if($checkoverwrite)
{
//
{
Ts_master
::
where
(
'id'
,
$request
->
tid
)
//
Ts_master::where('id', $request->tid)
->
update
([
//
->update([
'tm_timesheet_master_sts'
=>
3
,
//
'tm_timesheet_master_sts' => 3,
'tm_verified_at'
=>
today
()
->
toDateString
(),
//
'tm_verified_at' => today()->toDateString(),
]);
//
]);
Ts_detail
::
where
(
'fk_tm_id'
,
$request
->
tid
)
//
Ts_detail::where('fk_tm_id', $request->tid)
->
where
(
'td_project_type'
,
1
)
//
->where('td_project_type', 1)
->
update
([
'td_timesheet_sts'
=>
3
]);
//
->update([ 'td_timesheet_sts' => 3 ]);
Tproject
::
where
(
'fk_tm_id'
,
$request
->
tid
)
//
Tproject::where('fk_tm_id', $request->tid)
->
where
(
'tp_project_type'
,
1
)
//
->where('tp_project_type', 1)
->
update
([
//
->update([
'tp_timesheet_sts'
=>
3
,
//
'tp_timesheet_sts' => 3,
'tp_verified_at'
=>
today
()
->
toDateString
(),
//
'tp_verified_at' => today()->toDateString(),
'verifier_remark'
=>
'verified'
,
//
'verifier_remark' => 'verified',
]);
//
]);
}
//
}
}
}
if
(
$roleid
==
'2'
)
if
(
$roleid
==
'2'
)
...
...
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