penambahan filter by status untuk jumlah task

This commit is contained in:
majid
2024-12-05 11:07:29 +07:00
parent 13f3065a01
commit 6692eef319
5 changed files with 13 additions and 11 deletions

View File

@@ -250,6 +250,8 @@ class ActivityController extends Controller
])
->whereHas('userPenilai', function ($q) use ($id) {
$q->where('user_id', $id);
})->whereHas('permohonan', function ($q) {
$q->where('status', 'assign');
});