@extends('layouts.public_layout') @section('title', $title) @section('content')

IQA Opportunities For Improvement {{ ($id == 0 ? '(Add)' : '(Edit)') }}


@if (strlen($msg) > 0) @endif @if ($errors->any())
@endif
@csrf
@error('iqaofi_no') {{ $errors->first('iqaofi_no') }} @enderror
@error('iqaofi_date') {{ $errors->first('iqaofi_date') }} @enderror
@if (Auth::user()->is_admin == 1)
@error('iqaofi_initiator') {{ $errors->first('iqaofi_initiator') }} @enderror
@else
{{ ($row->iqaofi_initiator == 0 ? Auth::user()->full_name : $row->iqaofi_initiator_name) }}
@endif
@error('iqaofi_area') {{ $errors->first('iqaofi_area') }} @enderror
@error('iqaofi_opportunities') {{ $errors->first('iqaofi_opportunities') }} @enderror
@if (Auth::user()->is_admin == 1)
@error('iqaofi_acknowledgedby') {{ $errors->first('iqaofi_acknowledgedby') }} @enderror
@error('iqaofi_date_acknowledged') {{ $errors->first('iqaofi_date_acknowledged') }} @enderror
@else
{{ ($row->iqaofi_acknowledgedby == 0 ? '' : $row->iqaofi_acknowledgedby_name) }}
{{ $row->iqaofi_date_acknowledged }}
@endif
iqaofi_implemented) != 1 ? '' : 'checked="checked"') }} required="required">
iqaofi_implemented) != 2 ? '' : 'checked="checked"') }}>
@error('iqaofi_ifnotreason') {{ $errors->first('iqaofi_ifnotreason') }} @enderror
@error('iqaofi_reponsibleperson') {{ $errors->first('iqaofi_reponsibleperson') }} @enderror
@error('iqaofi_completiondate') {{ $errors->first('iqaofi_completiondate') }} @enderror
@error('iqaofi_effectiveness') {{ $errors->first('iqaofi_effectiveness') }} @enderror
@if (Auth::user()->is_admin == 1)
@error('iqaofi_monitoredby') {{ $errors->first('iqaofi_monitoredby') }} @enderror
@error('iqaofi_monitoreddate') {{ $errors->first('iqaofi_monitoreddate') }} @enderror
@else
{{ ($row->iqaofi_monitoredby == 0 ? '' : $row->iqaofi_monitoredby_name) }}
{{ $row->iqaofi_monitoreddate }}
@endif
@if (Auth::user()->is_admin == 1)
@error('iqaofi_notedby') {{ $errors->first('iqaofi_notedby') }} @enderror
@error('iqaofi_noteddate') {{ $errors->first('iqaofi_noteddate') }} @enderror
@else
{{ ($row->iqaofi_notedby == 0 ? '' : $row->iqaofi_notedby_name) }}
{{ $row->iqaofi_noteddate }}
@endif
@if (strlen($row->iqaofi_filename) > 0)
{{ $row->iqaofi_oldfilename }}
@endif
@error('iqaofi_file') {{ $errors->first('iqaofi_file') }} @enderror
@endsection