@extends('admin.layouts.layouts') @section('title', 'View Farmer User') @section('content')
{{ $showDetails->phone_number ?? '-' }}
{{ $showDetails->email ?? '-' }}
{{ $showDetails->address ?? '-' }}
Created Date: {{ $showDetails->created_at->format('d-m-Y') ?? '-' }}
Created By: {{ $showDetails->users->name ?? '-' }}
Aadhar Card Number
{{ $showDetails->aadhar_number ?? '-' }}
Aadhar Card Front @if ($showDetails->aadhar_front && file_exists(public_path('storage/' . $showDetails->aadhar_front))) @php $extension = strtolower(pathinfo($showDetails->aadhar_front, PATHINFO_EXTENSION)); // $isImage = in_array($extension, ['jpeg', 'png', 'jpg']); $isImage = ['jpeg', 'png', 'jpg']; $fileName = basename($showDetails->aadhar_front); @endphp @if (in_array(strtolower($extension), $isImage)) @else @endif @else Not uploaded @endif
Aadhar Card Back @if ($showDetails->aadhar_back && file_exists(public_path('storage/' . $showDetails->aadhar_back))) @php $extension = strtolower(pathinfo($showDetails->aadhar_back, PATHINFO_EXTENSION)); $isImage = ['jpeg', 'png', 'jpg']; $fileName = basename($showDetails->aadhar_back); @endphp @if (in_array(strtolower($extension), $isImage)) @else @endif @else Not uploaded @endif
PAN Card Number
{{ $showDetails->pan_number ?? '-' }}
Pan Card @if ($showDetails->pan_file && file_exists(public_path('storage/' . $showDetails->pan_file))) @php $extension = strtolower(pathinfo($showDetails->pan_file, PATHINFO_EXTENSION)); $isImage = ['jpeg', 'png', 'jpg']; $fileName = basename($showDetails->pan_file); @endphp @if (in_array(strtolower($extension), $isImage)) @else @endif @else Not uploaded @endif
| No | Start Date | End Date | Created Date | Created By | Updated Date | Updated By | Actions |
|---|
| No | Farm Name | Regulator | Land Record Number | Created At | Actions |
|---|