@extends('layouts.'.env('THEME')) @section('style') @endsection @section('content')
@php $filter_fields = [ 'id' => ['type' => 'text'], 'name' => ['type' => 'text'], 'email' => ['type' => 'text'] ]; @endphp
Filter by
All staff {{$staff->count()}}
@foreach($staff as $row) @endforeach
ID Name Email Action
{{$row->id}} {{$row->user->name ?? ''}} {{$row->user->email ?? ''}} {!! link_to_route('staff.edit', 'Edit', $parameters = [$row->id], $attributes = ['class' => 'btn btn-primary f07']) !!}
{{ csrf_field() }} @method('DELETE')
{{ csrf_field() }} @method('POST')
@endsection @section('script') @endsection