@extends('layout.app') @section('content')
Total Manager: {{ $resellersCount }}
@can('reseller-recharge') @endcan| ID | Manager Name | @canany(['reseller_type', 'specific_management_services']) | Reseller Type | @endcanAddress | Contact No | Balance | @if (checkSettings('reseller-recharge-paid-option') == 'enable')Total Due | @endif @hasrole('Admin')Remark | @endhasrole @if (checkSettings('manager_status') == 'enable')Status | @endif @can('manager_unique_code')Unique Code | @endcan|
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $r->id }} | {{ $r->name }} | @cannot('specific_management_services') @if (checkSettings('reseller-online-recharge') == 'enable') @if ($r->enable_online_recharge) Online Recharge @endif @endif @endcannot | @canany(['reseller_type', 'specific_management_services']){{ $r->reseller_type }} | @endcan{{ $r->address }} | {{ $r->contact }} | {{ $r->balance[0]['amount'] ?? 0 }} | @if (checkSettings('reseller-recharge-paid-option') == 'enable')@foreach ($due as $d) @if ($d->reseller_id == $r->id) {{ $d->tamount - $d->tpaid }} @endif @endforeach {{-- {{ $r->paid->amount }} --}} | @endif @hasallroles('Admin'){{ $r->remark ?? '' }} | @endhasallroles @if (checkSettings('manager_status') == 'enable'){{ $r->status == 'active' ? 'Active' : 'Inactive' }} | @endif @can('manager_unique_code'){{ $r->manager_unique_code ?? '' }} | @endcan
|