Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mileage-claim
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
trainee
mileage-claim
Commits
0d44f98d
Commit
0d44f98d
authored
Aug 10, 2026
by
Muhammad Danial Bin Mohd Zaidi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
status mismatch
parent
f251f76a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
packages/portal/overtime/resources/views/overtime/overtimerequest/hod/view.blade.php
+1
-1
packages/portal/overtime/resources/views/overtime/overtimerequest/pd/view.blade.php
+1
-1
packages/portal/overtime/src/Data/Repo/OvertimePdRepo.php
+2
-2
No files found.
packages/portal/overtime/resources/views/overtime/overtimerequest/hod/view.blade.php
View file @
0d44f98d
...
@@ -104,7 +104,7 @@
...
@@ -104,7 +104,7 @@
</table>
</table>
</div>
</div>
@if(
$main->orm_status
== 2
)
@if(
in_array((int)
$main->orm_status
, [2, 3], true)
)
<div class="
action
-
card
">
<div class="
action
-
card
">
<div class="
form
-
title
">
<div class="
form
-
title
">
<i class="
gavel
icon
" style="
color
:
#2185d0;"></i>
<i class="
gavel
icon
" style="
color
:
#2185d0;"></i>
...
...
packages/portal/overtime/resources/views/overtime/overtimerequest/pd/view.blade.php
View file @
0d44f98d
...
@@ -104,7 +104,7 @@
...
@@ -104,7 +104,7 @@
</table>
</table>
</div>
</div>
@if(
$main->orm_status
== 7
)
@if(
in_array((int)
$main->orm_status
, [7, 11], true)
)
<div class="
action
-
card
">
<div class="
action
-
card
">
<div class="
form
-
title
">
<div class="
form
-
title
">
<i class="
gavel
icon
" style="
color
:
#2185d0;"></i>
<i class="
gavel
icon
" style="
color
:
#2185d0;"></i>
...
...
packages/portal/overtime/src/Data/Repo/OvertimePdRepo.php
View file @
0d44f98d
...
@@ -180,9 +180,9 @@ public function findQueryHistory(int $id)
...
@@ -180,9 +180,9 @@ public function findQueryHistory(int $id)
public
function
approveRequestForm
(
int
$id
)
:
OvertimeRequestMain
public
function
approveRequestForm
(
int
$id
)
:
OvertimeRequestMain
{
{
$record
=
$this
->
findRequestForm
(
$id
);
$record
=
$this
->
findRequestForm
(
$id
);
$this
->
authorizePdRequestAccess
(
$record
,
[
7
]);
$this
->
authorizePdRequestAccess
(
$record
,
[
7
,
11
]);
if
(
$record
->
orm_status
!==
7
)
{
if
(
!
in_array
((
int
)
$record
->
orm_status
,
[
7
,
11
],
true
)
)
{
throw
new
\Exception
(
'Borang ini tidak lagi menunggu kelulusan PD.'
);
throw
new
\Exception
(
'Borang ini tidak lagi menunggu kelulusan PD.'
);
}
}
...
...
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