@extends('layouts.admin') @section('title', 'Agents') @section('content')
| Code | Name | Master | Commission | Credit Limit | Status | Action | |
|---|---|---|---|---|---|---|---|
| {{ $item->agent_code }} | {{ $item->name }} | {{ $item->parentAgent?->name ?: '-' }} | {{ $item->email }} | {{ $item->commission_type }} ({{ $item->commission_type === 'fixed' ? number_format($item->fixed_commission, 2) : $item->percentage_commission . '%' }}) | {{ number_format($item->credit_limit, 2) }} | {{ $item->is_active ? 'Active' : 'Inactive' }} | ViewRechargeEdit |