@extends('layouts.admin') @section('header-content') @endsection @section('content')
Filter @if( Auth::user()->can('modify_jobs')) @endif
All Jobs
@if(!empty($jobs[0]))
@if( Auth::user()->can('modify_jobs')) @endif @foreach($jobs as $key=>$job) @if( Auth::user()->can('modify_jobs')) @endif @endforeach
# Area Sale Officer Start Date End Date Comment StatusAction
{{$key+1}} @if(isset($job->area->name)) {{$job->area->name}} @endif @if(isset($job->user->firstname)){{$job->user->firstname .' '.$job->user->lastname}}@endif {{$job->start_date}} {{$job->end_date}} {{ strip_tags($job->comment)}} {{$job->status}}
{!! method_field('DELETE') !!} {!! csrf_field() !!}

{{ $jobs->links() }}
@else

No Records Found

@endif
@endsection @section('footer-content') @endsection