@php
$access_group;
isset($workInstruction) ? $access_group = $workInstruction->access_group : 1
@endphp
@php
$count=0;
@endphp
@if(isset($attachments))
@foreach($attachments as $attach)
-
@if($attach['mime_type'] == 'application/pdf' || $attach['mime_type'] == 'image/jpeg' || $attach['mime_type'] == 'image/png')
View
@else
View
@endif
{{$attach['file_name']}}
@endforeach
@endif
@section('scripts')
@endsection