@extends('layouts.master') @section('content') @section('title') @lang('translation.Form_Layouts') @endsection @section('css') @endsection @php $working_count = $working_hours->count(); $working_loop = $working_count ? $working_hours : get_days(); @endphp @section('content') @include('components.breadcum')
{!! get_error_html($errors) !!}
{!! get_error_html($errors) !!} @csrf
@foreach($working_loop as $key=>$day) @php $day_name= $day->day_name ?? $day; @endphp @endforeach
Day Time
@if($day) is_working == '1') ? 'checked' : '') : ''}}> @else is_working??"",'checked')}}> @endif
@if(count($day['working_hours']) > 0) @foreach($day['working_hours'] as $key_new=>$working_time) @if($key_new == '0')
@else @include('admin.free_session.new_time') @endif @endforeach @else
@endif
@endsection @section('script') @endsection