@extends('layouts.app') @section('title', 'Resellers') @section('content')
Manage reseller accounts and their access
| SN | User | Company | Parent Reseller | Connection Type | Password | Phone | Assign Employee | Role | Status | Last Login | Created | Actions | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} |
{{ $user->name }}
ID: {{ $user->id }}
|
{{ $user->company_name ?? '-' }}
|
@if($user->parentUser)
{{ $user->parentUser->name }}
{{ $user->parentUser->company_name ?? 'No Company' }}
@else
Top Level
@endif
|
@if($user->connectionTypeRelation)
{{ $user->connectionTypeRelation->name }}
@if($user->connectionTypeRelation->isp)
{{ $user->connectionTypeRelation->isp->name }}
@endif
@else
-
@endif
|
{{ $user->email }} | @if($user->plain_password) Click to view @elseif($user->password) Click to view @else - @endif | @if($user->phone) {{ $user->phone }} @else - @endif |
@if($user->assignedEmployees && $user->assignedEmployees->count() > 0)
@foreach($user->assignedEmployees as $assignedEmployee)
@endforeach
@else
|
@if($user->role) {{ ucfirst($user->role) }} @else - @endif | {{ $user->is_active ? 'Active' : 'Inactive' }} | @if($user->last_login_at) {{ $user->last_login_at->format('M d, Y H:i') }} @else Never @endif | {{ $user->created_at->format('M d, Y') }} |
Start by adding your first reseller.