@extends('admin.adminLayout') @section('admin_page_title') Affiliator #{{ $affiliation->id }} @endsection @section('admin_content')

Affiliator Overview

@csrf

Whitelist IPs

@csrf
Only these IPs should be allowed to send leads for this affiliator.

Change Password

@csrf
Minimum 12 chars, uppercase, lowercase, number, symbol.
Summary

ID: {{ $affiliation->id }}

Company: {{ $affiliation->company_name }}

Username: {{ $affiliation->username }}

Status: @if($affiliation->status === 'active') Active @else Inactive @endif

Whitelist IP Count: {{ count($affiliation->whitelist_ips ?? []) }}

Connected Leads: {{ number_format((int) ($affiliation->leads_count ?? 0)) }}

Created At: {{ $affiliation->created_at }}

Updated At: {{ $affiliation->updated_at }}

@can('affiliations_delete')
Danger Zone

Deleting this affiliator revokes its account and API tokens. Existing leads are not deleted; they retain {{ $affiliation->company_name }} as their historical affiliator name.

@csrf @method('DELETE')
@endcan
@endsection @section('script') @endsection @section('style') @endsection