@if(isset($data['counter_pirate_list']) && count($data['counter_pirate_list']) > 0) @foreach($data['counter_pirate_list'] as $counter) {{ $counter->date }} @if(!empty($counter->category)) {{ $counter->category }} @endif @php $link_parts = parse_url($counter->link); $host = isset($link_parts['host']) ? $link_parts['host'] : $counter->link; @endphp {{ $host }} @if(isset($counter->project_name)) {{ $counter->project_name }} @else Project ID: {{ $counter->project_id }} @endif {{ $counter->displayLink }} @if($counter->pirate_status == 0) Pending Review @elseif($counter->pirate_status == 2) Denied @elseif($counter->pirate_status == 3) Pending Review @elseif($counter->pirate_status == 4) Submitted @else Reinstated @endif @if($data['role_id'] == \App\Models\Users::ROLE_ADMIN || $data['role_id'] == \App\Models\Users::ROLE_MANAGER) @endif @if($data['role_id'] == \App\Models\Users::ROLE_ADMIN || $data['role_id'] == \App\Models\Users::ROLE_MANAGER)
@endif @endforeach @else No counter notices found. @endif