{{--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'] === ""))
  • {{ $item['title'] }}

  • @else
  • @if(url()->isValidUrl($item['uri'])) @else @endif @if($item['parent_id']) @else @endif @if (Lang::has($titleTranslation = 'admin.menu_titles.' . trim(str_replace(' ', '_', strtolower($item['title']))))) {{ __($titleTranslation) }} @else {{ $item['title'] }} @endif {{--Start Custom GamePort Script--}} @if($item['uri'] === 'reports' && $open_reports > 0) {{ $open_reports }} @elseif($item['uri'] === 'withdrawals' && $pending_withdrawals > 0) {{ $pending_withdrawals }} @endif {{--End Custom GamePort Script--}}
  • @endif @else
  • @if (Lang::has($titleTranslation = 'admin.menu_titles.' . trim(str_replace(' ', '_', strtolower($item['title']))))) {{ __($titleTranslation) }} @else {{ $item['title'] }} @endif {{--Start Custom GamePort Script--}} @if(($item['uri'] === 'payments' && $item['parent_id'] === '0') && $pending_withdrawals > 0) {{ $pending_withdrawals }} @endif {{--End Custom GamePort Script--}}
  • @endif {{--Start Custom GamePort Script--}} @endif {{--End Custom GamePort Script--}} @endif