@extends('admin.layouts.app') @section('title', 'Add Agent') @section('breadcrumb')
  • Agents
  • Add Agent
  • @endsection @section('heading', 'Add Agent') @section('subheading', 'Register a new agent with comprehensive profile details.') @section('content')
    @csrf {{-- Section 1: Account --}}

    Account

    @error('name')

    {{ $message }}

    @enderror
    @error('email')

    {{ $message }}

    @enderror
    @error('password')

    {{ $message }}

    @enderror
    {{-- Section 2: Contact --}}

    Contact

    {{-- Section 3: Professional --}}

    Professional

    @error('agency_id')

    {{ $message }}

    @enderror
    @foreach(['Residential', 'Commercial', 'Luxury', 'Rental', 'New Projects'] as $spec) @endforeach
    @foreach(['English', 'Hindi', 'Marathi', 'Tamil', 'Telugu', 'Bengali'] as $lang) @endforeach
    {{-- Section 4: Profile & Media --}}

    Profile & Media

    {{-- Section 5: Social & Address --}}

    Social & Address

    {{-- Section 6: Module Access --}}

    Module Access

    Choose which sections this agent can access in the admin panel. Leave all unchecked to give no access.

    @foreach($permissionsByModule as $module => $permissions)

    {{ str_replace('-', ' ', $module) }}

    @foreach($permissions as $permission) @endforeach
    @endforeach
    {{-- Section 7: Status --}}

    Status

    {{-- Form Actions --}}
    Cancel
    @endsection