@extends('admin.layouts.app') @section('title') {{ __('job_list') }} @endsection @section('content') @php $userr = auth()->user(); @endphp

{{ __('job_list') }}

{{ __('pending_edited_jobs') }} {{ $edited_jobs }} {{ __('create') }} @if (request('title') || request('job_category') || request('job_type') || request('experience') || request('sort_by') || request('filter_by'))  {{ __('clear') }} @endif
{{-- Filter --}}
@include('admin.layouts.partials.message')
@if (userCan('job.update') || userCan('job.delete')) @endif @if ($jobs->count() > 0) @foreach ($jobs as $job) @if (userCan('job.update')) @endif @endforeach @else @endif
{{__('job')}} {{ __('category') }}/{{ __('role') }} {{ __('salary') }} {{ __('deadline') }} {{ __('status') }}{{ __('action') }}
image

{{ $job->title }}

{{ $job->company && $job->company->user ?$job->company->user->name:'-' }} · {{ $job->job_type->name ?? '' }} @if ($job->is_remote) · {{ __('remote') }} @endif

{{ $job->category->name }}

{{ $job->role->name }}

@if ($job->salary_mode == 'range')

{{ getFormattedNumber($job->min_salary) }} - {{ getFormattedNumber($job->max_salary) }} {{ currentCurrencyCode() }}

@else

{{ $job->custom_salary }}

@endif

{{ $job->salary_type->name }}

{{ date('j F, Y', strtotime($job->deadline)) }}
@if ($job->status == 'pending')
@csrf @method('PUT') status == 'pending' ? 'checked' : '' }}>
@endif
@csrf @method('PUT') status == 'active' ? 'checked' : '' }}>
@if ($job->status == 'active' || $job->status == 'expired')
@csrf @method('PUT') status == 'expired' ? 'checked' : '' }}>
@endif
{{ __('view_details') }} {{ __('clone') }} @if (userCan('job.update')) @endif @if (userCan('job.delete'))
@method('DELETE') @csrf
@endif
{{ __('no_data_found') }}
@if ($jobs->total() > $jobs->perPage())
{{ $jobs->links() }}
@endif
@endsection @section('script') @endsection