Merge branch 'staging' into feature/senior-officer

This commit is contained in:
majid
2024-12-05 01:38:23 +07:00
3 changed files with 47 additions and 50 deletions

View File

@@ -73,14 +73,7 @@
</th>
<th class="min-w-[150px]">
<span class="text-base text-gray-900 font-normal">
@php
$totalTasks = $item->team->regions->penilaiTeam
->filter(function ($penilaiTeam) use ($item) {
return $penilaiTeam->user_id == $item->user->id;
})
->count();
@endphp
<p>Total Task: {{ $totalTasks }}</p>
<p>Total Task: {{ countPermohonanForUser($item->user->id) }}</p>
</span>
</th>
<th>