@if(session('success'))
{{session('success')}}

@endif @if(session('error'))
{{session('error')}}

@endif
@if($entity)

{{ !is_null($entity->promised_time) ? date('d M Y h:i a', strtotime($entity->promised_time)) : 'Pending Promised Time' }}

@endif
@if ($errors->has('service_repair_time')) {{ $errors->first('service_repair_time') }} @endif
@php $additional_time_array = isset($entity->additional_time_array) ? json_decode($entity->additional_time_array) : []; @endphp
@if ($errors->has('additionals_time')) {{ $errors->first('additionals_time') }} @endif

@if ($errors->has('checking_time')) {{ $errors->first('checking_time') }} @endif

@php $minor_replacement_time_array = isset($entity->minor_replacement_time_array) ? json_decode($entity->minor_replacement_time_array) : []; @endphp

minor_replacement_time_1_array) && $entity->minor_replacement_time_1_array == '0' ? 'checked' : '' }}>
minor_replacement_time_1_array) && $entity->minor_replacement_time_1_array == '36' ? 'checked' : '' }}>
minor_replacement_time_1_array) && $entity->minor_replacement_time_1_array == '70' ? 'checked' : '' }}>

minor_replacement_time_2_array) && $entity->minor_replacement_time_2_array == '0' ? 'checked' : '' }}>
minor_replacement_time_2_array) && $entity->minor_replacement_time_2_array == '16' ? 'checked' : '' }}>
minor_replacement_time_2_array) && $entity->minor_replacement_time_2_array == '32' ? 'checked' : '' }}>

minor_replacement_time_3_array) && $entity->minor_replacement_time_3_array == '0' ? 'checked' : '' }}>
minor_replacement_time_3_array) && $entity->minor_replacement_time_3_array == '46' ? 'checked' : '' }}>
minor_replacement_time_3_array) && $entity->minor_replacement_time_3_array == '92' ? 'checked' : '' }}>

minor_replacement_time_4_array) && $entity->minor_replacement_time_4_array == '0' ? 'checked' : '' }}>
minor_replacement_time_4_array) && $entity->minor_replacement_time_4_array == '51' ? 'checked' : '' }}>
minor_replacement_time_4_array) && $entity->minor_replacement_time_4_array == '102' ? 'checked' : '' }}>

minor_replacement_time_5_array) && $entity->minor_replacement_time_5_array == '0' ? 'checked' : '' }}>
minor_replacement_time_5_array) && $entity->minor_replacement_time_5_array == '101' ? 'checked' : '' }}>
minor_replacement_time_5_array) && $entity->minor_replacement_time_5_array == '202' ? 'checked' : '' }}>
@if ($errors->has('minor_replacement_time')) {{ $errors->first('minor_replacement_time') }} @endif
@if ($errors->has('major_replacement_time')) {{ $errors->first('major_replacement_time') }} @endif

@php $other_service_time_array = isset($entity->other_service_time_array) ? json_decode($entity->other_service_time_array) : []; @endphp

other_service_time_1_array) && $entity->other_service_time_1_array == '0' ? 'checked' : '' }}>
other_service_time_1_array) && $entity->other_service_time_1_array == '25' ? 'checked' : '' }}>
other_service_time_1_array) && $entity->other_service_time_1_array == '42' ? 'checked' : '' }}>

other_service_time_2_array) && $entity->other_service_time_2_array == '0' ? 'checked' : '' }}>
other_service_time_2_array) && $entity->other_service_time_2_array == '21' ? 'checked' : '' }}>
other_service_time_2_array) && $entity->other_service_time_2_array == '33' ? 'checked' : '' }}>
other_service_time_2_array) && $entity->other_service_time_2_array == '47' ? 'checked' : '' }}>
other_service_time_2_array) && $entity->other_service_time_2_array == '63' ? 'checked' : '' }}>
@if ($errors->has('other_service_time')) {{ $errors->first('other_service_time') }} @endif
@if ($errors->has('other_service_time2')) {{ $errors->first('other_service_time2') }} @endif
@if ($errors->has('other_service_time3')) {{ $errors->first('other_service_time3') }} @endif