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
3a76f379
Commit
3a76f379
authored
Aug 26, 2022
by
hannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes
parent
a644fc15
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
2 deletions
+11
-2
app/Enums/Permission.php
+1
-0
packages/portal/timesheet/resources/views/dashboard/timesheetViewer.blade.php
+1
-1
packages/portal/timesheet/resources/views/report/ringkasan.blade.php
+1
-1
packages/portal/timesheet/src/ServiceProvider.php
+8
-0
No files found.
app/Enums/Permission.php
View file @
3a76f379
...
...
@@ -23,5 +23,6 @@ final class Permission extends Enum
const
tsviewer
=
'tsviewer'
;
const
laporan
=
'laporan'
;
const
projek
=
'projek'
;
const
perananprojek
=
'perananprojek'
;
}
packages/portal/timesheet/resources/views/dashboard/timesheetViewer.blade.php
View file @
3a76f379
...
...
@@ -768,7 +768,7 @@
@else
@if(
$check
!= null)
@if(data_get(
$check
,'tm_timesheet_master_sts') != (
2||3||4
) )
@if(data_get(
$check
,'tm_timesheet_master_sts') != (
2 || 3 || 4
) )
<button type="
button
" class="
ui
green
button
" onclick="
window
.
location
.
href
=
'{{ route('
timesheet
::
dashboard
.
tsubmit
',[ '
tid
'=> $check->id, '
totalot
'=> $totalot, '
totalchargehrs
'=>$totalchargehrs, '
totalnonchargehrs
'=> $totalnonchargehrs, '
totaloverheadhrs
'=>$totaloverheadhrs ]) }}'
;
">Submit</button>
@endif
@else
...
...
packages/portal/timesheet/resources/views/report/ringkasan.blade.php
View file @
3a76f379
...
...
@@ -16,7 +16,7 @@
<tr>
<th style="
width
:
10
%
"> Month/Year</th>
<th style="
width
:
1
%
">:</th>
<th> {{
$month
}} {{
$year
}}</th>
<th
style="
width
:
89
%
"
> {{
$month
}} {{
$year
}}</th>
</tr>
</thead>
</table>
...
...
packages/portal/timesheet/src/ServiceProvider.php
View file @
3a76f379
...
...
@@ -118,6 +118,14 @@ class ServiceProvider extends BaseServiceProvider
->
data
(
'icon'
,
'users icon'
)
->
active
(
'projek/*'
)
->
data
(
'permission'
,
Permission
::
projek
);
$PerananProjek
->
add
(
__
(
'List of Roles'
),
route
(
'timesheet::maintenance.senaraiPeranan'
))
->
data
(
'icon'
,
'users icon'
)
->
active
(
'perananprojek/*'
)
->
data
(
'permission'
,
Permission
::
perananprojek
);
$PerananProjek
->
add
(
__
(
'Add New Roles'
),
route
(
'timesheet::maintenance.penambahanPeranan'
))
->
data
(
'icon'
,
'users icon'
)
->
active
(
'perananprojek/*'
)
->
data
(
'permission'
,
Permission
::
perananprojek
);
$pengurusanProject
=
$this
->
app
[
'laravolt.menu'
]
->
add
(
__
(
'Project Management'
))
->
data
(
'icon'
,
'align justify'
);
$pengurusanProject
->
add
(
__
(
'List of Project'
),
route
(
'timesheet::maintenance.senaraiProject'
))
...
...
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