@section('title', __('radio.relays_edit')) @section('head') @endsection @include('includes/header') @include('includes/topRadio')

{{ __('radio.relays_edit') }}

@if (\Session::has('error_name'))
{!! \Session::get('error_name') !!}
@endif
@if (\Session::has('error_url'))
{!! \Session::get('error_url') !!}
@endif
@php $checkType = old('checkType', $dataRelay->type ?? '1'); @endphp
@php $hasOld = count(old()) > 0; $sun = $hasOld ? old('sun', '0') : $dataRelay->sun ?? '0'; $mon = $hasOld ? old('mon', '0') : $dataRelay->mon ?? '0'; $tue = $hasOld ? old('tue', '0') : $dataRelay->tue ?? '0'; $wed = $hasOld ? old('wed', '0') : $dataRelay->wed ?? '0'; $thu = $hasOld ? old('thu', '0') : $dataRelay->thu ?? '0'; $fri = $hasOld ? old('fri', '0') : $dataRelay->fri ?? '0'; $sat = $hasOld ? old('sat', '0') : $dataRelay->sat ?? '0'; @endphp
@if (Session::has('error_days'))
{!! Session::get('error_days') !!}
@endif
@if (\Session::has('error_time'))
{!! \Session::get('error_time') !!}
@endif
@php $checkEndTime = (!empty($dataRelay) && $dataRelay->always === '1') ? '1' : '0'; @endphp
time_end)) value="{{ old('time_end', $dataRelay->time_end) }}" @endif autocomplete="off"> @if (\Session::has('error_time_end'))
{!! \Session::get('error_time_end') !!}
@endif
@if (\Session::has('error_start_time'))
{!! \Session::get('error_start_time') !!}
@endif
@php $checkEndTime1 = (!empty($dataRelay) && $dataRelay->always === '1') ? '1' : '0'; @endphp
@if (\Session::has('error_end_time'))
{!! \Session::get('error_end_time') !!}
@endif
@include('includes/footer')