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
642d81d1
Commit
642d81d1
authored
Sep 14, 2022
by
hannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit project button css and change column name in project mandays table
parent
7bc2265e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
65 additions
and
33 deletions
+65
-33
database/migrations/2022_09_14_124852_rename_column_in_project_mandays.php
+32
-0
database/migrations/2022_09_14_125201_rename_column_in_project_mandays.php
+32
-0
packages/portal/timesheet/resources/views/form/chargeableForm.blade.php
+0
-14
packages/portal/timesheet/resources/views/maintenance/senaraiProject.blade.php
+1
-19
No files found.
database/migrations/2022_09_14_124852_rename_column_in_project_mandays.php
0 → 100644
View file @
642d81d1
<?php
use
Illuminate\Support\Facades\Schema
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Migrations\Migration
;
class
RenameColumnInProjectMandays
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
table
(
'project_mandays'
,
function
(
Blueprint
$table
)
{
$table
->
renameColumn
(
'fk_project_team'
,
'fk_project'
);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
table
(
'project_mandays'
,
function
(
Blueprint
$table
)
{
$table
->
renameColumn
(
'fk_project'
,
'fk_project_team'
);
});
}
}
database/migrations/2022_09_14_125201_rename_column_in_project_mandays.php
0 → 100644
View file @
642d81d1
<?php
use
Illuminate\Support\Facades\Schema
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Migrations\Migration
;
class
RenameColumnInProjectMandays
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
table
(
'project_mandayscd'
,
function
(
Blueprint
$table
)
{
//
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
table
(
'project_mandayscd'
,
function
(
Blueprint
$table
)
{
//
});
}
}
packages/portal/timesheet/resources/views/form/chargeableForm.blade.php
View file @
642d81d1
...
@@ -214,24 +214,10 @@ input[type=number] {
...
@@ -214,24 +214,10 @@ input[type=number] {
}
}
}
}
}
}
console.log("
currenttotal
-->
" + currenttotal);
console.log("
currenttotal
-->
" + currenttotal);
// var currentTtotal = document.getElementById('total-'+pid).value;
// var total = document.getElementById('total-'+pid).value;
// if(total == null || total == 0){
// total = 0;
// }else{
// total = document.getElementById('total-'+pid).value;
// }
// if (input.value < 0) input.value = 0;
// if (input.value > 24) input.value = 24
// else total = Number(input.value)+Number(currentTtotal);
document.getElementById('total-'+pid).value = currenttotal;
document.getElementById('total-'+pid).value = currenttotal;
}
}
</script>
</script>
...
...
packages/portal/timesheet/resources/views/maintenance/senaraiProject.blade.php
View file @
642d81d1
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
Team
Team
</button>
</button>
<button class="
compact
yellow
ui
button
" onclick="
window
.
location
.
href
=
'{{ route('
timesheet
::
maintenance
.
updateProject
', ['
id
' => $project['
id
']]) }}'
;
">
<button class="
compact
yellow
ui
button
" onclick="
window
.
location
.
href
=
'{{ route('
timesheet
::
maintenance
.
updateProject
', ['
id
' => $project['
id
']]) }}'
;
">
Edit
Team
Edit
Project
</button>
</button>
<button class="
compact
purple
ui
button
" onclick="
window
.
location
.
href
=
'{{ route('
timesheet
::
maintenance
.
mandays
', ['
id
' => $project['
id
']]) }}'
;
">
<button class="
compact
purple
ui
button
" onclick="
window
.
location
.
href
=
'{{ route('
timesheet
::
maintenance
.
mandays
', ['
id
' => $project['
id
']]) }}'
;
">
Mandays
Mandays
...
@@ -41,24 +41,6 @@
...
@@ -41,24 +41,6 @@
@endforeach
@endforeach
</tbody>
</tbody>
<!-- <tfoot>
<tr>
<th colspan="
6
">
<div class="
ui
right
floated
pagination
menu
">
<a class="
icon
item
">
<i class="
left
chevron
icon
"></i>
</a>
<a class="
item
">1</a>
<a class="
item
">2</a>
<a class="
item
">3</a>
<a class="
item
">4</a>
<a class="
icon
item
">
<i class="
right
chevron
icon
"></i>
</a>
</div>
</th>
</tr>
</tfoot> -->
</table>
</table>
</div>
</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