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

IQA Audit Programs {{ ((($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
@error('effectivity_date') {{ $errors->first('effectivity_date') }} @enderror
{{ $row->revision }}
{{ $row->last_revision_status }}
{{ $row->revision_status }}
@error('subject') {{ $errors->first('subject') }} @enderror
@error('reason') {{ $errors->first('reason') }} @enderror
@error('details') {{ $errors->first('details') }} @enderror

Documents

@error('file') {{ $errors->first('file') }} @enderror
@error('file.*') {{ $errors->first('file.*') }} @enderror
@error('page_count') {{ $errors->first('page_count') }} @enderror
@forelse ($files as $file)
@error('docs.'.$ctr) {{ $errors->first('docs.'.$ctr) }} @enderror
@empty @if ($id == 0)