{{--Start Custom GamePort Script--}} @if($item['uri'] === 'reports') @php $open_reports = \App\Models\Report::where('status','0')->count(); @endphp @elseif($item['uri'] === 'withdrawals' || ($item['uri'] === 'payments' && $item['parent_id'] === '0')) @php isset($pending_withdrawals) ? '' : $pending_withdrawals = \App\Models\Withdrawal::where('status','1')->count(); @endphp @endif {{--End Custom GamePort Script--}} @if(Backport::user()->visible($item['roles']) && (empty($item['permission']) ?: Backport::user()->can($item['permission']))) {{--Start Custom GamePort Script--}} @if((config('settings.location_api') === 'zippopotam' && $item['uri'] === 'settings/countries') || $item['uri'] !== 'settings/countries') {{--End Custom GamePort Script--}} @if(!isset($item['children'])) {{-- Menu Seperator (Item without URI) --}} @if(!isset($item['uri']) || (isset($item['uri']) && $item['uri'] === ""))