@extends('admin.template.master') @section('title', $title) @section('content') @php $userjobview= Auth::user()->jobsview; $userjobedit= Auth::user()->jobsedit; $userjobdel= Auth::user()->jobsdel; @endphp

Jobs

@include('admin.partials.flash_message') @foreach($content as $k=>$u) @php $todaydate = date('Y-m-d', strtotime('+3 days', strtotime(NOW()))); @endphp @if($u->closing_date <= $todaydate) @else @endif @foreach($users as $k=>$us) @if($u->organisation == $us->id) @endif @endforeach @endforeach
S.no Job Title User Id Organisation Org. Pub. Date Closing Date Web Pub. Date Action
{{ ++$k }} {{ $u->job_title }}{{ $us->user_id }} {{ $us->name }}{{ Carbon\Carbon::parse($u->publish_date)->format('d-M-Y') }} {{ Carbon\Carbon::parse($u->closing_date)->format('d-M-Y') }} {{ Carbon\Carbon::parse($u->portal_date)->format('d-M-Y') }} @php $userId= Auth::user()->user_type; @endphp @if ($userId == 0)
{{ csrf_field() }}
@endif @if($userjobdel == 1) @php $userId= Auth::user()->id; @endphp @if($userId == $u->posted_by) @endif @endif @if($userjobdel == 1)
{{ csrf_field() }}
@endif
S.no Job Title User Id Organisation Org. Pub. Date Closing Date Web Pub. Date Action
@endsection