@extends('layouts.appv2') @section('content')
| No. | Name | Start Time | End Time | Flexibility | Action |
|---|---|---|---|---|---|
| {{ $times->time_schedule_id }} | {{ $times->time_schedule_name }} | {{ $times->time_schedule_start }} | {{ $times->time_schedule_end }} | {{ $times->time_schedule_flex }} |
|
| DAYTIME | @foreach($slottable as $slottable){{ \Carbon\Carbon::parse($slottable->start_time)->format('h:i A') }} - {{ \Carbon\Carbon::parse($slottable->end_time)->format('h:i A') }} | @endforeach @foreach (['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday'] as $day)||||||
|---|---|---|---|---|---|---|---|
| {{ $day }} |
@foreach ($shift1 as $employee)
@if ($employee->day === $day)
{{ $employee->employee_first_name }} @endif @endforeach |
@foreach ($shift2 as $employee)
@if ($employee->day === $day)
{{ $employee->employee_first_name }} @endif @endforeach |
@foreach ($shift3 as $employee)
@if ($employee->day === $day)
{{ $employee->employee_first_name }} @endif @endforeach |
@foreach ($shift4 as $employee)
@if ($employee->day === $day)
{{ $employee->employee_first_name }} @endif @endforeach |
@foreach ($shift5 as $employee)
@if ($employee->day === $day)
{{ $employee->employee_first_name }} @endif @endforeach |
@foreach ($shift6 as $employee)
@if ($employee->day === $day)
{{ $employee->employee_first_name }} @endif @endforeach |
@foreach ($shift7 as $employee)
@if ($employee->day === $day)
{{ $employee->employee_first_name }} @endif @endforeach |