@extends('admin::layouts.app') @section('content')
{{-- @include('admin::partials.title-pad', [ 'title' => __('admin.staffs_availability'), 'search' => $search, 'searchPlaceholder' => __('admin.staffs_availability'), 'create' => '', 'list' => $branchWorkHours, ]) --}}



@forelse ($branchWorkHours as $branchWorkHour) @empty

{{ __('admin::message.no_records_found') }}

@endforelse {{-- Pagination --}} {{-- {{ $branchWorkHours->appends(request()->input())->links('admin::partials.pagination') }} --}} {{-- Pagination End --}}
# Weekday Date Available Slots Availabilty Status Action
{{ $loop->iteration }} {{ ucfirst($branchWorkHour->day) }} {{ date('d/m/Y', strtotime($branchWorkHour->date)) }} @if (isset($branchWorkHour->slots) && count($branchWorkHour->slots)) @foreach ($branchWorkHour->slots as $slot) {{ $slot }} @endforeach @endif {{ $branchWorkHour->status }}
@endsection