@extends('adminlte::page') @section('title', 'Raspberry Network | Open Positions') @section('content_header') @if (Auth::user()->hasAnyRole('admin', 'hiringManager'))

Administration / Open Positions

@else

Application Access Denied

@endif @stop @section('js') @if (session()->has('success')) @elseif(session()->has('error')) @endif @if($errors->any()) @foreach ($errors->all() as $error) @endforeach @endif @stop @section('content') @if (Auth::user()->hasAnyRole('admin', 'hiringManager'))

Open Vacancies

@if(!$vacancies->isEmpty()) @foreach($vacancies as $vacancy) @if($vacancy->vacancyStatus == 'OPEN') @else @endif @endforeach
Name Description Discord Role ID Perm. Group Name Open Slots Status Created On Actions
{{$vacancy->vacancyName}} {{substr($vacancy->vacancyDescription, 0, 20)}}... {{$vacancy->discordRoleID}} {{$vacancy->permissionGroupName}} {{$vacancy->vacancyCount}}OPENCLOSED{{$vacancy->created_at}} @if ($vacancy->vacancyStatus == 'OPEN')
@csrf @method('PATCH')
@else
@csrf @method('PATCH')
@endif
@else

Nothing to see here! Open some vacancies first. This will get applicants pouring in! (hopefully)

@endif
@else @endif @stop @section('footer') @include('breadcrumbs.dashboard.footer') @stop