@extends('layouts.modern') @section('page-title', 'Edit Data Type') @section('breadcrumb') @endsection @section('action-buttons')
View Details Back to List
@endsection @section('content')
@if($dataType->icon) @endif
Edit Data Type: {{ $dataType->name }}
@csrf @method('PUT')
Basic Information
@error('name')
{{ $message }}
@enderror
Display name for this data type
@error('slug')
{{ $message }}
@enderror
URL-friendly identifier (auto-generated if left empty)
@if($dataType->fields->count() > 0 || $dataType->sections->count() > 0)
Note: Changing the slug may affect existing data and permissions.
@endif
@error('description')
{{ $message }}
@enderror
@error('icon')
{{ $message }}
@enderror
FontAwesome icon class (e.g., fas fa-cube)
@error('business_id')
{{ $message }}
@enderror
Choose whether this data type is global or business-specific
Menu Configuration
menu_visible) ? 'checked' : '' }}>
When enabled, this data type will appear in the navigation menu
@error('menu_order')
{{ $message }}
@enderror
Lower numbers appear first in the menu
@error('menu_parent_id')
{{ $message }}
@enderror
Optional: Group this data type under another menu item
Status & Visibility
is_active) ? 'checked' : '' }}>
When disabled, this data type will be hidden and inaccessible
System Information
{{ $dataType->table_name }}
Cannot be changed after creation
{{ $dataType->permissions_prefix }}
Used for auto-generated permissions
{{ $dataType->created_at->format('M j, Y g:i A') }}
{{ $dataType->updated_at->format('M j, Y g:i A') }}
Cancel
@endsection @push('scripts') @endpush