@extends('backend.layouts.app') @section('title', \App\Http\Helpers\MenuHelper::getPageTitle()) @section('content')
| # | Photo | Name | Department | Position | Phone | Sort | Status | Actions | |
|---|---|---|---|---|---|---|---|---|---|
| @if($departmentFilter) @if(count($staff) > 1) @else @endif @else @endif {{ ($staff->currentPage() - 1) * $staff->perPage() + $loop->iteration }} |
@if($row->directory_staff_photo)
{{ strtoupper(substr($row->directory_staff_name ?? '?', 0, 1)) }}
@endif
|
{{ $row->directory_staff_name ?? '-' }} | {{ $row->department?->directory_department_name ?? '-' }} | {{ $row->directory_staff_position ?? '-' }} | {{ $row->directory_staff_email ?? '-' }} | {{ $row->directory_staff_phone ?? '-' }} | {{ $row->directory_staff_sort ?? '-' }} | @if((int) ($row->directory_staff_status ?? 0) === 1) Active @else Inactive @endif | |
No staff foundClick "Create New" to add your first entry. |
|||||||||