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
a0501b9c
Commit
a0501b9c
authored
Sep 15, 2022
by
hannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mobile responsive page mandays & senarai project
parent
3a1de564
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
7 deletions
+14
-7
packages/portal/timesheet/resources/views/maintenance/mandays.blade.php
+1
-1
packages/portal/timesheet/resources/views/maintenance/senaraiProject.blade.php
+1
-1
packages/portal/timesheet/src/Http/Controllers/MaintenanceController.php
+12
-5
public/img/3f-logo.png
+0
-0
No files found.
packages/portal/timesheet/resources/views/maintenance/mandays.blade.php
View file @
a0501b9c
...
...
@@ -6,7 +6,7 @@
<br>
<form class="
ui
form
" action="
{{
route
(
'timesheet::maintenance.savemandays'
)}}
" method="
POST
">
{
{csrf_field()}
}
<table class="
ui
celled
t
able
">
<table class="
ui
celled
structured
table
unstack
able
">
<input type="
hidden
" name="
id
" value="
{{
$id
}}
">
<thead>
<tr>
...
...
packages/portal/timesheet/resources/views/maintenance/senaraiProject.blade.php
View file @
a0501b9c
...
...
@@ -7,7 +7,7 @@
<a href="
{{
route
(
'timesheet::maintenance.penambahanProject'
)}}
" class="
ui
right
floated
small
primary
labeled
icon
button
"><i class="
plus
icon
"></i>Add New Project
</a>
<br>
<table class="
ui
celled
padded
t
able
">
<table class="
ui
celled
structured
table
unstack
able
">
<thead>
<tr>
<th>No</th>
...
...
packages/portal/timesheet/src/Http/Controllers/MaintenanceController.php
View file @
a0501b9c
...
...
@@ -339,11 +339,18 @@ class MaintenanceController extends Controller
$pt
->
pt_project_type
=
$chargeable
;
$pt
->
save
();
$md
=
new
Pmandays
;
$md
->
fk_project
=
$request
->
pid
;
$md
->
pm_roles
=
$request
->
role
;
$md
->
updated_by
=
$request
->
userId
;
$md
->
save
();
$checkmd
=
Pmandays
::
where
(
'fk_project'
,
$request
->
pid
)
->
where
(
'pm_roles'
,
$request
->
role
)
->
first
();
if
(
$checkmd
){
}
else
{
$md
=
new
Pmandays
;
$md
->
fk_project
=
$request
->
pid
;
$md
->
pm_roles
=
$request
->
role
;
$md
->
updated_by
=
$request
->
userId
;
$md
->
save
();
}
}
}
...
...
public/img/3f-logo.png
0 → 100644
View file @
a0501b9c
13.1 KB
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