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
16b63ff1
Commit
16b63ff1
authored
Oct 04, 2022
by
Azhan Hannan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
group by handling, remove sql_mode=' '
parent
d1b0ce9c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
config/database.php
+1
-1
packages/portal/timesheet/src/Http/Controllers/DashboardController.php
+3
-2
No files found.
config/database.php
View file @
16b63ff1
...
...
@@ -52,7 +52,7 @@ return [
'collation'
=>
'utf8mb4_unicode_ci'
,
'prefix'
=>
''
,
'prefix_indexes'
=>
true
,
'strict'
=>
tru
e
,
'strict'
=>
fals
e
,
'engine'
=>
null
,
],
...
...
packages/portal/timesheet/src/Http/Controllers/DashboardController.php
View file @
16b63ff1
...
...
@@ -366,11 +366,12 @@ class DashboardController extends Controller
->
where
(
'month'
,
$month
)
->
where
(
'phase'
,
$phase
)
->
where
(
'status'
,
2
)
->
distinct
(
'staff_id'
)
// ->distinct('staff_id')
->
groupby
(
'staff_id'
)
->
orderby
(
'roleid'
)
->
with
(
'countchargeable'
)
->
get
();
//
dd($profile);
dd
(
$profile
);
$details
=
Tproject
::
where
(
'tp_year'
,
$curryear
)
->
where
(
'tp_month'
,
$month
)
...
...
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