Compare commits
2 Commits
f65af50262
...
96abda3474
| Author | SHA1 | Date | |
|---|---|---|---|
| 96abda3474 | |||
| 100a4f4085 |
@ -279,8 +279,7 @@ class AdminController extends Controller
|
||||
});
|
||||
|
||||
$query = Jawaban::query()
|
||||
->select('unit', DB::raw('COUNT(*) as total_unit'))
|
||||
->whereNotNull('unit');
|
||||
->select('unit', DB::raw('COUNT(*) as total_unit'));
|
||||
|
||||
if ($request->nama_pegawai) {
|
||||
$query->where('nama', 'ILIKE', '%' . $request->nama_pegawai . '%');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user