@extends('app-new') @push('head-script') @endpush @push('content-header') @endpush @section('content') {!! Form::model($emphealthMaster, [ 'method' => isset($emphealthMaster) && $emphealthMaster->id ? 'put' : 'post', 'files' => 'true', ]) !!}
Health Test Details
Enter Health Test Details
@if(isset($emphealthMaster)&& $emphealthMaster->id) @else @endif {!! $errors->first('employee_id', '')!!}
@php $healthMasters = old('healthMasters') ?: (isset($emphealthMaster->healthMasters) ? $emphealthMaster->healthMasters : [ [] ]); @endphp @foreach ($healthMasters as $index => $healthMaster)
{!! $errors->first("healthMasters.$index.health_test_id", '') !!}
{!! $errors->first("healthMasters.$index.submission_date", '') !!}
{!! $errors->first("healthMasters.$index.description", '') !!}
{!! $errors->first("healthMasters.$index.status", '') !!}
{!! $errors->first("healthMasters.$index.attachment", '') !!}
@if(!empty($healthMaster['attachment_url'])) @endif
@endforeach
{!! Form::close() !!} @endsection @push('footer-script') @endpush