@php
$filePath = $getRecord()->dok_profile_perusahaan;
$extension = pathinfo($filePath, PATHINFO_EXTENSION);
@endphp
@if (in_array($extension, ['pdf', 'jpg', 'jpeg', 'png']))
@php $url = asset('storage/' . $filePath); @endphp
Lihat dok_profile_perusahaan
@else
{{ $getRecord()->dok_profile_perusahaan }} Tidak Ada dok_profile_perusahaan
@endif