@extends('layout.app') @section('content')
@if (checkSettings('sub-reseller-can-recharge-from-commission') == 'enable') @can('can_recharge_from_sub_reseller_commission') @endcan @endif @can('pop-recharge') @endcan {{-- Also lives under Reports in the sidebar; repeated here because the POP list is where you go to ask "how are my POPs doing". --}} @can('pop-client-summary-chart') Client Summary @endcan
@if (checkSettings('pop-online-recharge') == 'enable') @endif @hasanyrole('Admin|Support Executive') @endhasrole @hasrole('Admin|Support Executive') @endhasrole @canany(['show-pop-balance', 'specific_management_services']) @endcan @can('show-pop-unique-code') @endcan @php($checkAPI = checkAPI()) @foreach ($pop as $r) pop_disable ?? '') == 'yes') class="table-danger" @endif> @if (checkSettings('pop-online-recharge') == 'enable') {{-- @dd("comes"); --}} @endif @hasanyrole('Admin|Support Executive') @endhasanyrole {{-- --}} @hasrole('Admin|Support Executive') @endhasrole @canany(['show-pop-balance', 'specific_management_services']) @endcan @can('show-pop-unique-code') @endcan @endforeach
Id POP Name Manager Name POP Location NAS Server IP POP Contact Sub-Manager Bill Generate Balance SMS Status POP Code 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->sms_send ?? '') == 'yes') Yes @else No @endif {{ $r->pop_unique_code }}
{{-- Sub Manager Commission Transfer To Balance Modal --}} @endsection @unlessrole('Reseller') @section('ajax') @endsection @endunlessrole