{{ __('Source Details') }}

@can('update', $source) {{ __('Edit') }} @endcan {{ __('Back to List') }}
@if(session('success')) @endif

Basic Information

Type
{{ config('at.type.' . $source->type, $source->type) }}
Production Method
{{ $source->production_method ?? 'N/A' }}
Area
{{ $source->area ?? 'N/A' }}
Address
{{ $source->address_line1 }}
@if($source->address_line2)
{{ $source->address_line2 }}
@endif
@if($source->state) {{ $source->state }}, @endif @if($source->country_code) {{ $source->country_code }} @endif
Status
@php $statusColors = [ 'pending' => 'bg-yellow-100 text-yellow-800', 'approved' => 'bg-green-100 text-green-800', 'rejected' => 'bg-red-100 text-red-800', 'active' => 'bg-blue-100 text-blue-800', 'inactive' => 'bg-gray-100 text-gray-800' ]; $color = $statusColors[$source->status] ?? 'bg-gray-100 text-gray-800'; @endphp {{ ucfirst($source->status) }}

Location

GPS Coordinates
@if($source->gps_lat && $source->gps_long) {{ $source->gps_lat }}, {{ $source->gps_long }} (View on Map) @else N/A @endif

Owner Information

Owner
{{ $source->owner->name }}
Email
{{ $source->owner->email }}
Created: {{ $source->created_at->format('M d, Y H:i') }}
Last Updated: {{ $source->updated_at->format('M d, Y H:i') }}