Commit 77d0b2ef by Alfiro Pratama

fix query

parent aa98826a
......@@ -44,7 +44,7 @@ class KelompokController extends Controller
// $cekKel = $kelompok->where('created_user', auth()->user()->id)->where('periode_id', $periode_aktif->periode_id)->whereIn('status', [0,1])->count();
$cekKel = $kelompok->where('created_user', auth()->user()->id)
->where('periode_id', $periode_aktif->periode_id)
->whereRaw("TRIM(status) IN ('0','1')")
->whereIn('status', ['0','1'])
->count();
// $getMhs = GetDataApiController::getAccount(20030244001);
......
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