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
c4af87c3
Commit
c4af87c3
authored
Nov 07, 2025
by
Hannah Zahra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Final Part 2
parent
aa2c0374
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
packages/portal/mileage/src/Http/Controllers/HODController.php
+2
-2
No files found.
packages/portal/mileage/src/Http/Controllers/HODController.php
View file @
c4af87c3
...
@@ -42,7 +42,7 @@ public function index()
...
@@ -42,7 +42,7 @@ public function index()
->
orderBy
(
'claim_date'
,
'desc'
)
->
orderBy
(
'claim_date'
,
'desc'
)
->
get
();
->
get
();
return
view
(
'mileage::
hod
.index'
,
compact
(
'claims'
));
return
view
(
'mileage::
HOD
.index'
,
compact
(
'claims'
));
}
}
public
function
show
(
$id
)
public
function
show
(
$id
)
...
@@ -78,7 +78,7 @@ public function show($id)
...
@@ -78,7 +78,7 @@ public function show($id)
$claim
->
display_total_claim_amount
=
$claim
->
display_total_claim_amount
=
(
$calculatedAmount
+
(
$claim
->
toll_amount
??
0
)
+
(
$claim
->
others_amount
??
0
))
-
$displayPenalty
;
(
$calculatedAmount
+
(
$claim
->
toll_amount
??
0
)
+
(
$claim
->
others_amount
??
0
))
-
$displayPenalty
;
return
view
(
'mileage::
hod
.show'
,
compact
(
'claim'
));
return
view
(
'mileage::
HOD
.show'
,
compact
(
'claim'
));
}
}
public
function
verify
(
$id
)
public
function
verify
(
$id
)
...
...
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