@extends('layouts.horizontal', ['title' => 'Staff', 'topbarTitle' => 'Staff List View']) @section('css') @vite(['node_modules/dropzone/dist/dropzone.css']) @vite(['node_modules/select2/dist/css/select2.min.css']) @vite(['node_modules/flatpickr/dist/flatpickr.min.css']) @endsection @section('content')

Staff List View

@php $counter = 1; @endphp @foreach($staffMembers as $staff)
profile-image

{{ $staff->id_staff . ' ' . $staff->staff_fullname }}

{{ $staff->staff_designation }} | {{ $staff->staff_cell }}

  • {{ $staff->staff_order }}

    Scheduler Order

  • staff_scheduler == 'On' ? 'checked' : '' }} type="checkbox" onclick="updateSchedulerStatus({{ $staff->id_staff }}, this.checked ? 'On' : 'Off');" data-switch="{{ $staff->staff_active == 'Y' ? 'success' : 'danger' }}" class="form-check-input switch" id="switch2{{ $staff->id_staff }}">

    {{ $staff->staff_active == 'Y' ? 'Active' : 'Inactive' }}

@php $counter++; @endphp @endforeach
{{-- Modal --}} {{-- Profile Modal --}} {{-- Device Modal --}} @endsection @section('scripts') @endsection