@extends('layout.app') @section('content')
@can('pop-recharge')
@endcan
@if (checkSettings('pop-online-recharge') == 'enable') @endif @hasrole('Admin') @endhasrole @hasrole('Admin') @endhasrole @canany(['show-pop-balance', 'specific_management_services']) @endcan @can('pop-disable') @endcan @php($checkAPI = checkAPI()) @foreach ($pop as $r) @if (checkSettings('pop-online-recharge') == 'enable') {{-- @dd("comes"); --}} @endif @hasrole('Admin') @endhasrole {{-- --}} @hasrole('Admin') @endhasrole @canany(['show-pop-balance', 'specific_management_services']) @endcan @can('pop-disable') @endcan @endforeach
Id POP Name Manager Name POP Location NAS Server IP POP Contact Sub-Manager Bill Generate Balance Status Action
{{ $r->id }} {{ $r->popname }} @if ($r->enable_online_recharge) Online Recharge @endif {{ $r->reseller->name ?? '' }} {{ $r->pop_location }} {{ $r->nas->nasname ?? '' }} {{ $r->pop_contact }} {{ $r->subreseller }} {{ $r->billable }} {{ $r->bill_generate }} @if ($r->subreseller == 'yes') {{ $r->balance->first()->amount ?? '' }} @endif
@if ($r->pop_disable == 'no') {{-- --}} Active @endif @if ($r->pop_disable == 'yes') {{-- --}} Inactive @endif
@endsection @unlessrole('Reseller') @section('ajax') @endsection @endunlessrole