@extends('app-new') @push('head-script') @endpush @push('content-header') @endpush @section('content')
@if(($healthRecord->status == 'completed')) @endif
{{trans('emprecords/healthrecords.employee')}} : {{ $currEmp->name }}
{{trans('emprecords/healthrecords.employee_code')}} : {{ $currEmp->employee_code }}
{{trans('emprecords/healthrecords.employee_type')}} : {{ ucfirst($currEmp->employee_type) }}
{{trans('emprecords/healthrecords.test_type')}} : {{ ucfirst($healthRecord->complianceType->name) }}
{{trans('emprecords/healthrecords.completed_date')}} : {{ $completedDate }}
@if(($healthRecord->status == 'pending')) @endif
{{trans('emprecords/healthrecords.created_by')}} : {{ $createdBy->name }}
{{trans('emprecords/healthrecords.frequency')}} : {{ ucfirst($healthRecord->complianceType->frequency->name) }}
{{trans('emprecords/healthrecords.status')}} : {{ ucfirst($healthRecord->status) }}
{{trans('emprecords/healthrecords.next_due_date')}} : {{ $nextDueDate }}
@if($healthRecord->attachments)

{{trans('common/common.attachments')}}

@if($healthRecord->attachments) @foreach($healthRecord->getMedia('attachments') as $attachment)
@if($attachment->mime_type=="application/msword" || $attachment->mime_type=="appplication/docx" || $attachment->mime_type=="appplication/doc") avatar img @elseif($attachment->mime_type=="application/pdf") avatar img @else avatar img @endif

{{$attachment->file_name}}

@endforeach @endif
@endif
@endsection @push('footer-script') @endpush