Merge branch 'main' into production
This commit is contained in:
commit
96abda3474
@ -279,8 +279,7 @@ class AdminController extends Controller
|
|||||||
});
|
});
|
||||||
|
|
||||||
$query = Jawaban::query()
|
$query = Jawaban::query()
|
||||||
->select('unit', DB::raw('COUNT(*) as total_unit'))
|
->select('unit', DB::raw('COUNT(*) as total_unit'));
|
||||||
->whereNotNull('unit');
|
|
||||||
|
|
||||||
if ($request->nama_pegawai) {
|
if ($request->nama_pegawai) {
|
||||||
$query->where('nama', 'ILIKE', '%' . $request->nama_pegawai . '%');
|
$query->where('nama', 'ILIKE', '%' . $request->nama_pegawai . '%');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user