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
008d775f
Commit
008d775f
authored
Jan 18, 2023
by
Azhan Hannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pmhod page => type button for single project
parent
c88c6f91
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
packages/portal/timesheet/resources/views/dashboard/dashboardpmhod.blade.php
+2
-2
No files found.
packages/portal/timesheet/resources/views/dashboard/dashboardpmhod.blade.php
View file @
008d775f
...
@@ -646,7 +646,7 @@
...
@@ -646,7 +646,7 @@
</td>
</td>
<td style="
width
:
12
%
;
" class="
text
-
center
single
line
">
<td style="
width
:
12
%
;
" class="
text
-
center
single
line
">
@if(data_get(
$detail
, 'tp_timesheet_sts') == 2)
@if(data_get(
$detail
, 'tp_timesheet_sts') == 2)
<button class="
center
aligned
ui
green
icon
button
" onclick="
window
.
location
.
href
=
'{{route('
timesheet
::
dashboard
.
projectaction
', ['
tpid
'=> data_get($detail, '
id
'), '
phase
' => data_get($staff,'
tp_phase
'), '
month
' => data_get($staff,'
tp_month
'), '
year
' => data_get($staff,'
tp_year
'), '
page
' => $page]) }}'
;
">Verify | Reject</button>
<button class="
center
aligned
ui
green
icon
button
" onclick="
window
.
location
.
href
=
'{{route('
timesheet
::
dashboard
.
projectaction
', ['
tpid
'=> data_get($detail, '
id
'), '
phase
' => data_get($staff,'
tp_phase
'), '
month
' => data_get($staff,'
tp_month
'), '
year
' => data_get($staff,'
tp_year
'), '
page
' => $page]) }}'
;
"
type="
button
"
>Verify | Reject</button>
@else
@else
<!-- <button class="
center
aligned
ui
green
icon
button
disabled
">Verify | Reject</button> -->
<!-- <button class="
center
aligned
ui
green
icon
button
disabled
">Verify | Reject</button> -->
<a class="
center
aligned
ui
blue
icon
button
" href="
{{
route
(
'timesheet::dashboard.timesheetViewer'
,
[
'user'
=>
data_get
(
$staff
,
'staff_id'
)
,
'phase'
=>
data_get
(
$staff
,
'phase'
),
'month'
=>
data_get
(
$staff
,
'month'
),
'year'
=>
data_get
(
$staff
,
'year'
)])
}}
" target='_blank'>View</a>
<a class="
center
aligned
ui
blue
icon
button
" href="
{{
route
(
'timesheet::dashboard.timesheetViewer'
,
[
'user'
=>
data_get
(
$staff
,
'staff_id'
)
,
'phase'
=>
data_get
(
$staff
,
'phase'
),
'month'
=>
data_get
(
$staff
,
'month'
),
'year'
=>
data_get
(
$staff
,
'year'
)])
}}
" target='_blank'>View</a>
...
@@ -708,7 +708,7 @@
...
@@ -708,7 +708,7 @@
</td>
</td>
<td style="
width
:
12
%
;
" class="
text
-
center
single
line
">
<td style="
width
:
12
%
;
" class="
text
-
center
single
line
">
@if(data_get(
$tp
, 'tp_timesheet_sts') == 2)
@if(data_get(
$tp
, 'tp_timesheet_sts') == 2)
<button class="
center
aligned
ui
green
icon
button
" onclick="
window
.
location
.
href
=
'{{route('
timesheet
::
dashboard
.
revaction
', ['
tpid
'=>data_get($tp, '
id
'), '
phase
'=>data_get($tp, '
tp_phase
'), '
month
'=>data_get($tp, '
tp_month
'), '
year
'=>data_get($tp, '
tp_year
') ]) }}'
;
">Verify | Reject</button>
<button class="
center
aligned
ui
green
icon
button
" onclick="
window
.
location
.
href
=
'{{route('
timesheet
::
dashboard
.
revaction
', ['
tpid
'=>data_get($tp, '
id
'), '
phase
'=>data_get($tp, '
tp_phase
'), '
month
'=>data_get($tp, '
tp_month
'), '
year
'=>data_get($tp, '
tp_year
') ]) }}'
;
"
type="
button
"
>Verify | Reject</button>
@else
@else
<!-- <button class="
center
aligned
ui
green
icon
button
disabled
">Verify | Reject</button> -->
<!-- <button class="
center
aligned
ui
green
icon
button
disabled
">Verify | Reject</button> -->
<a class="
center
aligned
ui
blue
icon
button
" href="
{{
route
(
'timesheet::dashboard.timesheetViewer'
,
[
'user'
=>
data_get
(
$staff
,
'staff_id'
)
,
'phase'
=>
data_get
(
$staff
,
'tp_phase'
),
'month'
=>
data_get
(
$staff
,
'tp_month'
),
'year'
=>
data_get
(
$staff
,
'tp_year'
)])
}}
" target='_blank'>View</a>
<a class="
center
aligned
ui
blue
icon
button
" href="
{{
route
(
'timesheet::dashboard.timesheetViewer'
,
[
'user'
=>
data_get
(
$staff
,
'staff_id'
)
,
'phase'
=>
data_get
(
$staff
,
'tp_phase'
),
'month'
=>
data_get
(
$staff
,
'tp_month'
),
'year'
=>
data_get
(
$staff
,
'tp_year'
)])
}}
" target='_blank'>View</a>
...
...
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