@extends('user.layout') @section('content')
{{ __('All Agents') }}
@php $customDomain = DB::table('user_custom_domains') ->where('user_id', $tenant->id) ->where('status', 1) ->value('requested_domain'); $loginUrl = $customDomain ? 'https://' . $customDomain . '/team/login' : route('frontend.agent.login', ['username' => $tenant->username]); @endphp ({{ __('Login Url') }}: {{ $loginUrl }} )
@if (count($agents) == 0)

{{ __('NO AGENTS FOUND') }}

@else
@foreach ($agents as $agent) @endforeach
# {{ __('Image') }} {{ __('Username') }} {{ __('Email ID') }} {{ __('Status') }} {{ __('Actions') }}
{{ $loop->iteration }} agent image {{ $agent->username }} {{ $agent->email }}
@csrf
@endif
{{-- create modal --}} @include('user.agent.create') {{-- edit modal --}} @include('user.agent.edit') @endsection