@include('inc.header-inc')
{{ ucwords($title) }}
@foreach ($user_accounts as $key=>$accounts) @include('inc.modal.accountActionModal') @endforeach
NO. EMPLOYEE ID NAME DEPARTMENT POSITION SBU STATUS ACTION
{{$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.footer-inc') @include('inc.modal.modalloader')