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
33482f29
Commit
33482f29
authored
Nov 30, 2022
by
Azhan Hannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
validation untuk penambahan role, bila edit, takleh biar role empty
parent
f51836bc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
64 additions
and
5 deletions
+64
-5
packages/portal/timesheet/resources/views/maintenance/editPeranan.blade.php
+32
-2
packages/portal/timesheet/resources/views/maintenance/penambahanPeranan.blade.php
+32
-2
packages/portal/timesheet/resources/views/maintenance/penambahanProjectTeam.blade.php
+0
-1
No files found.
packages/portal/timesheet/resources/views/maintenance/editPeranan.blade.php
View file @
33482f29
...
...
@@ -27,6 +27,36 @@
<button class="
center
aligned
ui
teal
button
" type="
button
" onclick="
window
.
location
.
href
=
'{{ route('
timesheet
::
maintenance
.
senaraiPeranan
') }}'
;
">
Back
</button>
<div class="
ui
error
message
"></div>
</form>
</div>
@endsection
\ No newline at end of file
@endsection
@push('script')
<script type="
text
/
javascript
">
$('.ui.form')
.form({
fields: {
name: {
identifier: 'role',
rules: [
{
type : 'empty',
prompt : 'Please insert a role name'
}
]
},
status: {
identifier: 'status',
rules: [
{
type : 'empty',
prompt : 'Please select a status for the new role'
}
]
},
}
})
;
</script>
@endpush
\ No newline at end of file
packages/portal/timesheet/resources/views/maintenance/penambahanPeranan.blade.php
View file @
33482f29
...
...
@@ -19,6 +19,36 @@
</select>
</div>
<button class="
ui
primary
button
" type="
submit
">Add</button>
<div class="
ui
error
message
"></div>
</form>
</div>
@endsection
\ No newline at end of file
@endsection
@push('script')
<script type="
text
/
javascript
">
$('.ui.form')
.form({
fields: {
name: {
identifier: 'role',
rules: [
{
type : 'empty',
prompt : 'Please enter role name'
}
]
},
status: {
identifier: 'status',
rules: [
{
type : 'empty',
prompt : 'Please select a status for the new role'
}
]
},
}
})
;
</script>
@endpush
\ No newline at end of file
packages/portal/timesheet/resources/views/maintenance/penambahanProjectTeam.blade.php
View file @
33482f29
...
...
@@ -62,7 +62,6 @@
<button class="
ui
green
button
" type="
button
" onclick="
history
.
back
()
">Back</button>
<div class="
ui
error
message
"></div>
</form>
</div>
...
...
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