@extends("admin.template.layout") @section('content')
{{$page_heading}}
@csrf()

@if(!empty($user->trade_licence_doc)) @php $fileExtension = pathinfo($user->trade_licence_doc, PATHINFO_EXTENSION); @endphp @if(in_array($fileExtension, ['jpg', 'jpeg', 'png', 'gif'])) @elseif(in_array($fileExtension, ['pdf', 'doc', 'docx'])) View Document @endif @endif
@stop @section('script') @stop