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
8c96bda3
Commit
8c96bda3
authored
Aug 25, 2022
by
hannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disabled button chargeable, add new permission & role, PM.
parent
8f64b8d5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
app/Enums/Permission.php
+1
-0
packages/portal/timesheet/resources/views/form/chargeableForm.blade.php
+1
-1
packages/portal/timesheet/resources/views/report/department.blade.php
+3
-3
No files found.
app/Enums/Permission.php
View file @
8c96bda3
...
...
@@ -22,5 +22,6 @@ final class Permission extends Enum
const
borang
=
'borang'
;
const
tsviewer
=
'tsviewer'
;
const
laporan
=
'laporan'
;
const
projek
=
'projek'
;
}
packages/portal/timesheet/resources/views/form/chargeableForm.blade.php
View file @
8c96bda3
...
...
@@ -76,7 +76,7 @@ input[type=number] {
<th colspan="
@
if
(
$phase
==
1
)
15
@
else
{{
$daymonth
-
15
}}
@
endif
" class="
center
aligned
">Date</th>
<th rowspan="
2
">
@if(
$projectlist
== [])
<button type="
submit
" class="
fluid
center
aligned
ui
blue
compact
labeled
icon
button
">
<button type="
submit
" class="
ui
disabled
fluid
center
aligned
ui
blue
compact
labeled
icon
button
">
<i class="
save
icon
"></i>
Save
</button>
...
...
packages/portal/timesheet/resources/views/report/department.blade.php
View file @
8c96bda3
...
...
@@ -54,7 +54,7 @@
<td style="
width
:
35
%
"></td>
<td style="
width
:
5
%
" class="
center
aligned
">C</td>
<td style="
width
:
15
%
" class="
center
aligned
">
{
{data_get($chargeable,'pcode')}
}
</td>
<td style="
width
:
25
%
"
class="
center
aligned
"
>
{
{data_get($chargeable,'pname')}
}
</td>
<td style="
width
:
25
%
">
{
{data_get($chargeable,'pname')}
}
</td>
<td style="
width
:
10
%
" class="
center
aligned
">
{
{data_get($chargeable,'hours')}
}
</td>
<td style="
width
:
10
%
" class="
center
aligned
">{{number_format(data_get(
$chargeable
,'hours')/8, '1', '.', '')}}</td>
</tr>
...
...
@@ -76,7 +76,7 @@
<td style="
width
:
35
%
"></td>
<td style="
width
:
5
%
" class="
center
aligned
">NC</td>
<td style="
width
:
15
%
" class="
center
aligned
">
{
{data_get($nonchargeable,'pcode')}
}
</td>
<td style="
width
:
25
%
"
class="
center
aligned
"
>
{
{data_get($nonchargeable,'pname')}
}
</td>
<td style="
width
:
25
%
">
{
{data_get($nonchargeable,'pname')}
}
</td>
<td style="
width
:
10
%
" class="
center
aligned
">
{
{data_get($nonchargeable,'hours')}
}
</td>
<td style="
width
:
10
%
" class="
center
aligned
">{{number_format(data_get(
$nonchargeable
,'hours')/8, '1', '.', '')}}</td>
</tr>
...
...
@@ -97,7 +97,7 @@
<td style="
width
:
35
%
"></td>
<td style="
width
:
5
%
" class="
center
aligned
">NC</td>
<td style="
width
:
15
%
" class="
center
aligned
"></td>
<td style="
width
:
25
%
"
class="
center
aligned
"
>
{
{data_get($value,'pname')}
}
</td>
<td style="
width
:
25
%
">
{
{data_get($value,'pname')}
}
</td>
<td style="
width
:
10
%
" class="
center
aligned
">
{
{data_get($value,'hours')}
}
</td>
<td style="
width
:
10
%
" class="
center
aligned
">{{number_format(data_get(
$value
,'hours')/8, '1', '.', '')}}</td>
</tr>
...
...
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