@extends('admin.template.master') @section('title', $title) @section('content') @php $userrfpview= Auth::user()->rfpview; $userrfpedit= Auth::user()->rfpedit; $userrfpdel= Auth::user()->rfpdel; @endphp

RFP

@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 RFP Title User Id Organisation Publish OnPosted ByRejected ByRejected ByAction
{{ ++$k }} {{ $u->rfp_title }}{{ $us->user_id }} {{ $us->name }}{{ Carbon\Carbon::parse($u->publish_date)->format('d-M-Y') }}{{ $p->name }}{{ $p->name }}{{ $p->name }}
S.no RFP Title User Id Organisation Publish OnPosted ByRejected ByRejected ByAction
@endsection