feature: send thankscard page
This commit is contained in:
@@ -38,13 +38,7 @@
|
||||
</td>
|
||||
<td class="table-body-cell">
|
||||
@php
|
||||
$deptVal = $u->departments;
|
||||
if (is_numeric($deptVal)) {
|
||||
$idx = ((int)$deptVal) - 1;
|
||||
$deptName = config('constants.DEPARTMENTS')[$idx] ?? 'Team';
|
||||
} else {
|
||||
$deptName = $deptVal ?? 'Team';
|
||||
}
|
||||
$deptName = $u->department_name ?? 'Team';
|
||||
@endphp
|
||||
<div class="max-w-[200px] truncate font-medium text-gray-600" title="{{ $deptName }}">
|
||||
{{ $deptName }}
|
||||
|
||||
Reference in New Issue
Block a user