@extends('layouts.head_office_app') @section('title', 'Head Office Dashboard') @section('content')
@csrf
Back

General

color) value="{{ old('color', $near_miss->color ?? '#000000') }}" @endif id="color" name="color">

Type

@livewire('category-manager', ['form_id' => $near_miss->id, 'near_miss_table' => true])
is_quick_report == true ? 'checked' : '' }}>
is_qr_code == true ? 'checked' : '' }}>
allow_editing_state != 'disable' ? 'checked' : '' }}>
allow_editing_state == 'always' ? 'checked' : '' }} {{ isset($near_miss) && $near_miss->allow_editing_time == null ? 'checked' : '' }} style="margin-right: 5px;">
allow_editing_state == 'always') disabled @endif class="custom-input custom-number" type="number" min="0" max="1000" oninput="fitSize(event)" id="allow_editing_time" name="allow_editing_time" value="{{ isset($near_miss) && $near_miss->allow_editing_time ? $near_miss->allow_editing_time : 0 }}" style="margin-right: 8px;">

@if (!empty($near_miss->settings)) @foreach ($near_miss->settings as $set) {{-- @if (isset($set->location)) --}} {{-- @endif --}} @endforeach @else @endif
Customized Form Status Assign to Purpose
{{$set->name}} @if ($set->is_active)

Live

@else

Inactive

@endif
@if($set->location_id != null) {{$set->location->trading_name}} @else @endif {{$set->purpose}}
No settings yet!
@endsection @section('styles') @endsection @section('scripts') @if(Session::has('success')) @elseif(Session::has('error')) @endif @endsection