@extends('admin.layouts.app') @section('title', 'Regulations') @section('breadcrumb') Regulations @endsection @section('content')
All Regulations
@forelse($regulations as $reg) @php $typeColors = ['National'=>'badge-blue','State'=>'badge-teal','Municipal'=>'badge-green', 'CRZ'=>'badge-orange','RERA'=>'badge-purple','Heritage'=>'badge-red']; @endphp @empty @endforelse
Title Type State Effective Date Authority Status Actions
{{ $reg->title }}
{{ Str::limit($reg->description, 60) }}
{{ $reg->type }} {{ $reg->state?->name ?? 'All India' }} {{ $reg->effective_date ? $reg->effective_date->format('d M Y') : '—' }} {{ $reg->authority ?? '—' }} {{ $reg->is_active ? 'Active' : 'Superseded' }}
@csrf @method('DELETE')
No regulations added yet
@if(isset($regulations) && method_exists($regulations, 'links') && $regulations->hasPages()) {{ $regulations->links('vendor.pagination.admin') }} @endif
@endsection