@extends('layouts.admin') @section('title', 'Staff List') @section('content-header', 'Staff List') @section('content-actions') Add Staff @endsection @section('content')
@foreach ($staffs as $staff) @endforeach
Branch ID First Name Last Name Email Email Schedule (Daily) Login Access Cashier Access Created At Actions
{{$staff->BID}}
{{$staff->first_name}} {{$staff->last_name}} {{$staff->email}} {{$staff->email_schedule ? 'Active' : 'Inactive'}} {{$staff->login_access_flag ? 'Available' : 'Unavailable'}} {{$staff->cashier_access_flag ? 'Available' : 'Unavailable'}} {{$staff->created_at}}
{{ $staffs->render() }}
@endsection @section('js') @endsection