@extends('layouts.admin') @section('title', 'View Scheme') @section('content')
{{ $scheme->name }}
{{ $scheme->max_income ? '₹' . number_format($scheme->max_income) : 'No Limit' }}
{{ $scheme->min_age ?? 'No Limit' }}
{{ $scheme->max_age ?? 'No Limit' }}
@if($scheme->is_active) Active @else Disabled @endif
{{ $scheme->description ?: '—' }}

Dynamic Fields
@if(is_array($scheme->dynamic_fields) && count($scheme->dynamic_fields))
@foreach($scheme->dynamic_fields as $field) @endforeach
Key Label Type Required Options
{{ $field['key'] ?? \Illuminate\Support\Str::slug($field['label'] ?? 'field', '_') }} {{ $field['label'] ?? '-' }} {{ ucfirst($field['type'] ?? 'text') }} @if(!empty($field['required'])) Yes @else No @endif @if(!empty($field['options']) && is_array($field['options'])) {{ implode(', ', $field['options']) }} @else @endif
@else

No custom fields configured.

@endif
Modify Scheme Back to List
@csrf @method('DELETE')
@endsection