@extends('admin.app') @section('title', 'Jobs - List') @section('content_header', 'Jobs jobs list') @section('content')

Jobs

@if(count($jobs) > 0)
@foreach($jobs as $job) @endforeach
@include('admin._partials.sort_snippet', ['_field' => 'id', '_title' => '#']) @include('admin._partials.sort_snippet', ['_field' => 'title', '_title' => 'Title']) Location @include('admin._partials.sort_snippet', ['_field' => 'user_id', '_title' => 'User']) @include('admin._partials.sort_snippet', ['_field' => 'company_id', '_title' => 'Company']) Views Status @include('admin._partials.sort_snippet', ['_field' => 'active_to', '_title' => 'Active to'])  
{{ $job->id }} {{ $job->title }} @if($job->remote) Remote @else {{ $job->country }}, {{ $job->city }} @endif {{ $job->user->name }} @if($job->company) {{ $job->company->name }} @else - @endif {{ (int) app('counter')->get('model.job.'.$job->id.'.opened.total')->getValue() }} @if($job->active) active @else inactive @endif @if($job->featured) featured @endif @if($job->new) new @endif @if($job->filled) filled @endif @if($job->active) {{ $job->active_to }} @else - @endif @if($job->active) Deactivate @else Activate @endif @if(!$job->filled) fill @else un-fill @endif view edit delete
@if($jobs->hasPages()) @endif @else
Jobs list is empty.
@endif
@endsection