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
2cde5e90
Commit
2cde5e90
authored
Nov 01, 2022
by
Azhan Hannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
permission timesheet approval
parent
e98098f0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
app/Enums/Permission.php
+1
-0
packages/portal/timesheet/src/ServiceProvider.php
+1
-1
No files found.
app/Enums/Permission.php
View file @
2cde5e90
...
@@ -26,5 +26,6 @@ final class Permission extends Enum
...
@@ -26,5 +26,6 @@ final class Permission extends Enum
const
perananprojek
=
'perananprojek'
;
const
perananprojek
=
'perananprojek'
;
const
pmverify
=
'pmverify'
;
const
pmverify
=
'pmverify'
;
const
pdapproval
=
'pdapproval'
;
const
pdapproval
=
'pdapproval'
;
const
tsapproval
=
'tsapproval'
;
}
}
packages/portal/timesheet/src/ServiceProvider.php
View file @
2cde5e90
...
@@ -101,7 +101,7 @@ class ServiceProvider extends BaseServiceProvider
...
@@ -101,7 +101,7 @@ class ServiceProvider extends BaseServiceProvider
$form
->
add
(
__
(
'Timesheet Approval'
),
route
(
'timesheet::dashboard.filterApproval'
))
$form
->
add
(
__
(
'Timesheet Approval'
),
route
(
'timesheet::dashboard.filterApproval'
))
->
data
(
'icon'
,
'calendar alternate outline icon'
)
->
data
(
'icon'
,
'calendar alternate outline icon'
)
->
active
(
'timesheetApproval/*'
)
->
active
(
'timesheetApproval/*'
)
->
data
(
'permission'
,
Permission
::
kehadiran
);
->
data
(
'permission'
,
Permission
::
tsapproval
);
$laporan
=
$this
->
app
[
'laravolt.menu'
]
->
add
(
__
(
'Report'
))
->
data
(
'icon'
,
'align justify'
);
$laporan
=
$this
->
app
[
'laravolt.menu'
]
->
add
(
__
(
'Report'
))
->
data
(
'icon'
,
'align justify'
);
$laporan
->
add
(
__
(
'Report Summary'
),
route
(
'timesheet::report.ringkasanLaporan'
))
$laporan
->
add
(
__
(
'Report Summary'
),
route
(
'timesheet::report.ringkasanLaporan'
))
...
...
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