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
b263f010
Commit
b263f010
authored
Jun 22, 2022
by
hannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nonchargeable changes
parent
41b6a554
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
12 deletions
+39
-12
packages/portal/timesheet/resources/views/dashboard/nonChargeableForm.blade.php
+39
-12
No files found.
packages/portal/timesheet/resources/views/dashboard/nonChargeableForm.blade.php
View file @
b263f010
...
...
@@ -16,6 +16,18 @@ input[type=number] {
}
</
style
>
<
div
class
="
ui
small
modal
task
">
<div class="
header
">
Add Task
</div>
<form action="">
</form>
<div class="
actions
">
<div class="
ui
blue
button
">Add</div>
</div>
</div>
<div class="
ui
segment
">
<a class="
ui
blue
left
ribbon
label
">Non-Chargeable Form</a>
<br>
...
...
@@ -39,6 +51,21 @@ input[type=number] {
</div>
</form>
<br>
<button class="
center
aligned
ui
olive
compact
labeled
icon
button
" id="
task
">
<i class="
plus
icon
"></i>
Task
</button>
@if(
$phase
== 1)
<button class="
center
aligned
ui
green
compact
right
labeled
icon
button
" id="
phase2
" onclick="
window
.
location
.
href
=
'{{ route('
timesheet
::
dashboard
.
nonChargeableForm
', ['
phase
' => 2], ['
month
' => $month], ['
year
' => $year]) }}'
;
">
<i class="
angle
double
right
icon
"></i>
Phase 2
</button>
@else
<button class="
center
aligned
ui
green
compact
labeled
icon
button
" id="
phase1
" onclick="
window
.
location
.
href
=
'{{ route('
timesheet
::
dashboard
.
nonChargeableForm
', ['
phase
' => 1], ['
month
' => $month], ['
year
' => $year]) }}'
;
">
<i class="
angle
double
left
icon
"></i>
Phase 1
</button>
@endif
<form class="
ui
form
" action="
{{
route
(
'timesheet::dashboard.savechargeablehours'
)}}
" method="
POST
">
{
{csrf_field()}
}
<input type="
hidden
" name="
userId
" value="
{{
$userId
}}
">
...
...
@@ -48,7 +75,7 @@ input[type=number] {
<table class="
ui
celled
structured
table
">
<thead>
<tr>
<th colspan="
2
">Chargeable</th>
<th colspan="
2
">
Non-
Chargeable</th>
<th colspan="
@
if
(
$phase
==
1
)
15
@
else
{{
$daymonth
-
15
}}
@
endif
" class="
center
aligned
">Date</th>
<th>
<button type="
submit
" class="
fluid
center
aligned
ui
blue
compact
labeled
icon
button
">
...
...
@@ -145,17 +172,6 @@ input[type=number] {
</table>
</form>
<br>
@if(
$phase
== 1)
<button class="
center
aligned
ui
green
compact
right
labeled
icon
button
" id="
phase2
" onclick="
window
.
location
.
href
=
'{{ route('
timesheet
::
dashboard
.
nonChargeableForm
', ['
phase
' => 2], ['
month
' => $month], ['
year
' => $year]) }}'
;
">
<i class="
angle
double
right
icon
"></i>
Phase 2
</button>
@else
<button class="
center
aligned
ui
green
compact
labeled
icon
button
" id="
phase1
" onclick="
window
.
location
.
href
=
'{{ route('
timesheet
::
dashboard
.
nonChargeableForm
', ['
phase
' => 1], ['
month
' => $month], ['
year
' => $year]) }}'
;
">
<i class="
angle
double
left
icon
"></i>
Phase 1
</button>
@endif
</div>
@endsection
...
...
@@ -163,6 +179,17 @@ input[type=number] {
@push('script')
<script>
$(function(){
$("
#task").click(function(){
$
(
".task"
)
.
modal
(
'show'
);
});
$
(
".task"
)
.
modal
({
closable
:
true
});
});
</
script
>
<
script
>
function
onlynumber
(
evt
)
{
var
theEvent
=
evt
||
window
.
event
;
...
...
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