@extends('layouts.branch') @section('title', 'Clinical Schedules') @section('header', 'Clinical Settings') @section('content')

Service Timings

Configure 24/7 operations or specific daily schedules

@csrf @if($errors->any())

Update Errors

    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @foreach($services as $key => $name)
{{ substr($key, 0, 1) }}

{{ $name }}

@php $days = [ 0 => 'Sunday', 1 => 'Monday', 2 => 'Tuesday', 3 => 'Wednesday', 4 => 'Thursday', 5 => 'Friday', 6 => 'Saturday' ]; @endphp @foreach($days as $dayNum => $dayName) @php $sched = $schedules->get($key)?->where('day_of_week', $dayNum)->first(); @endphp @endforeach
Day Status Operating Hours
{{ $dayName }}
To
No Operations
Round the Clock
@endforeach
@endsection