Compare commits
No commits in common. "96abda3474aed24e374810df402fb29b90cd2862" and "f65af5026244515147764f4fc0cecd761ff6adf6" have entirely different histories.
96abda3474
...
f65af50262
@ -279,7 +279,8 @@ 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