@extends('backend.admin-master') @section('style') @endsection @section('site-title') {{__('All Posted Jobs')}} @endsection @section('content')
@include('backend/partials/message') @if($errors->any())
    @foreach($errors->all() as $error)
  • {{$error}}
  • @endforeach
@endif

{{__('All Posted Jobs')}}

@php $b=0; @endphp @foreach($all_jobs as $key => $job)
@foreach($job as $data) @endforeach
{{__('ID')}} {{__('Title')}} {{__('Position')}} {{__('Vacancy')}} {{__('Category')}} {{__('Posted At')}} {{__('Deadline')}} {{__('Status')}} {{__('Action')}}
{{$data->id}} {{$data->title}} {{$data->position}} {{$data->vacancy}} {{get_jobs_category_by_id($data->category_id)}} {{date_format($data->created_at,'d - M - Y')}} {{date("d - M - Y", strtotime($data->deadline))}} @if($data->status === 'draft') {{__('Draft')}} @else {{__('Publish')}} @endif
@csrf
@php $b++; @endphp @endforeach
@endsection @section('script') @endsection