@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') @php $userId= Auth::user()->user_type; @endphp @if ($userId != 3) @endif @if ($userId == 0) @endif @if ($userId == 3) @endif @foreach($content as $k=>$u) @foreach($user as $k=>$us) @if($u->organisation == $us->id) @endif @endforeach @foreach($user as $k=>$p) @php $userId= Auth::user()->user_type; @endphp @if ($userId != 3) @if($u->posted_by == $p->id) @endif @endif @if ($userId == 0) @if($u->rejected_by == $p->id) @endif @endif @if ($userId == 3) @if($u->rejected_by == $p->id) @endif @endif @endforeach @endforeach @php $userId= Auth::user()->user_type; @endphp @if ($userId != 3) @endif @if ($userId == 0) @endif @if ($userId == 3) @endif
S.no Job Title User Id Organisation Job Type Publish OnPosted ByRejected ByRejected ByAction
{{ ++$k }} {{ $u->job_title }}{{ $us->user_id }} {{ $us->name }}{{ $u->job_type }} {{ Carbon\Carbon::parse($u->publish_date)->format('d-M-Y') }}{{ $p->name }}{{ $p->name }}{{ $p->name }}
S.no Job Title User Id Organisation Job Type Publish OnPosted ByRejected ByRejected ByAction
@endsection