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

IQA Audit Program DCR {!! $page_name !!} {{ ((($id == 0) || ($req > 0)) ? '(Add)' : '(Edit)') }}


@if (strlen($msg) > 0) @endif @if ($errors->any()) @endif
@csrf
@error('code') {{ $errors->first('code') }} @enderror
@if ($row->for_creation == 1) New    @endif @if ($row->for_revision == 1) Revision    @endif @if ($row->for_deletion == 1) Deletion    @endif
{{--
for_creation) == 1) checked="checked" @endif>
@error('for_creation') {{ $errors->first('for_creation') }} @enderror
for_revision) == 1) checked="checked" @endif>
@error('for_revision') {{ $errors->first('for_revision') }} @enderror
for_deletion) == 1) checked="checked" @endif>
@error('for_deletion') {{ $errors->first('for_deletion') }} @enderror
--}}
@error('effectivity_date') {{ $errors->first('effectivity_date') }} @enderror
{{ $row->revision }}
{{--
@error('revision_no') {{ $errors->first('revision_no') }} @enderror
--}}
{{ $row->last_revision_status }}
{{ $row->revision_status }}
@if ($req < 2)
@error('subject') {{ $errors->first('subject') }} @enderror
@else
{{ $row->subject }}
@endif
@error('reason') {{ $errors->first('reason') }} @enderror
@error('details') {{ $errors->first('details') }} @enderror

Document Pages

@error('file') {{ $errors->first('file') }} @enderror
@error('file.*') {{ $errors->first('file.*') }} @enderror
@if ($req < 3)
@error('page_count') {{ $errors->first('page_count') }} @enderror
@else
{{ $row->page_count }}
@endif
Pages
Select New or Revised pages here.
@if ($req < 3)
@else
@endif @forelse ($files as $file)
@if ($req < 3)
@error('docs.'.$ctr) {{ $errors->first('docs.'.$ctr) }} @enderror
@endif
@empty @if ($id == 0)