{{$key + 1}} |
{{$accounts->empId}} |
{{ucwords($accounts->name)}} |
{{strtoupper($accounts->department)}} |
{{ucwords($accounts->position)}} |
@php
$sbu = \App\Models\TblSbu::find($accounts->tbl_sbu_id);
if($accounts->tbl_sbu_id != 0){
$sbuName = $sbu->sbu;
echo ucwords($sbuName);
}else{
echo 'Super Admin';
}
@endphp
|
@if(empty($accounts->deleted_at))
@else
@endif
|
@if(empty($accounts->deleted_at))
@else
@endif
|
@include('inc.modal.accountActionModal')
@endforeach