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
42cbd031
Commit
42cbd031
authored
Jun 08, 2022
by
hannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete migration project task
parent
926b586a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
107 deletions
+4
-107
database/migrations/2022_05_27_180514_create_project_task_table.php
+0
-39
database/migrations/2022_05_31_111954_change_datatype_pt_project_task_team_in_project_task.php
+0
-32
database/migrations/2022_06_08_110607_rename_table_project_task.php
+0
-32
packages/portal/timesheet/src/Http/Controllers/DashboardController.php
+4
-4
No files found.
database/migrations/2022_05_27_180514_create_project_task_table.php
deleted
100644 → 0
View file @
926b586a
<?php
use
Illuminate\Support\Facades\Schema
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Migrations\Migration
;
class
CreateProjectTaskTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'project_task'
,
function
(
Blueprint
$table
)
{
$table
->
increments
(
'id'
);
$table
->
integer
(
'pt_project_code'
)
->
unsigned
()
->
nullable
();
$table
->
string
(
'pt_project_description'
,
50
)
->
nullable
();
$table
->
string
(
'pt_project_task_team'
,
50
)
->
nullable
();
$table
->
integer
(
'pt_project_sts'
)
->
unsigned
()
->
nullable
();
$table
->
timestamps
();
$table
->
integer
(
'updated_by'
)
->
nullable
();
$table
->
softDeletes
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
dropIfExists
(
'project_task'
);
}
}
database/migrations/2022_05_31_111954_change_datatype_pt_project_task_team_in_project_task.php
deleted
100644 → 0
View file @
926b586a
<?php
use
Illuminate\Support\Facades\Schema
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Migrations\Migration
;
class
ChangeDatatypePtProjectTaskTeamInProjectTask
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
table
(
'project_task'
,
function
(
Blueprint
$table
)
{
$table
->
integer
(
'pt_project_task_team'
)
->
unsigned
()
->
nullable
()
->
change
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
table
(
'project_task'
,
function
(
Blueprint
$table
)
{
//
});
}
}
database/migrations/2022_06_08_110607_rename_table_project_task.php
deleted
100644 → 0
View file @
926b586a
<?php
use
Illuminate\Support\Facades\Schema
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Migrations\Migration
;
class
RenameTableProjectTask
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
table
(
'project_task'
,
function
(
Blueprint
$table
)
{
Schema
::
rename
(
'project_task'
,
'project_team'
);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
table
(
'project_task'
,
function
(
Blueprint
$table
)
{
//
});
}
}
packages/portal/timesheet/src/Http/Controllers/DashboardController.php
View file @
42cbd031
...
...
@@ -342,11 +342,11 @@ class DashboardController extends Controller
// ->where('td_date', $date)
->
where
(
'tm_phase'
,
$request
->
phase
)
->
sum
(
'td_hours'
);
dd
(
$sumdetailhour
);
//
dd($sumdetailhour);
$checktotalhours
=
Ts_master
::
where
(
'id'
,
$tmasterid
)
->
where
(
'tm_chargeable_hrs'
,
$sumdetailhour
)
->
update
();
$checktotalhours
=
Ts_master
::
where
(
'id'
,
$tmasterid
)
->
first
();
$checktotalhours
->
where
(
'tm_chargeable_hrs'
,
$sumdetailhour
);
$checktotalhours
->
update
();
// return redirect::to('mobile/profile');
...
...
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