Commit 16b63ff1 by Azhan Hannan

group by handling, remove sql_mode=' '

parent d1b0ce9c
......@@ -52,7 +52,7 @@ return [
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'prefix_indexes' => true,
'strict' => true,
'strict' => false,
'engine' => null,
],
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment