@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') @foreach($content as $k=>$u) @if($u->organisation != "Select") @foreach($users as $k=>$us) @if($u->organisation == $us->id) @endif @endforeach @else @endif @endforeach
S.no RFP Title User ID Organisation Org. Pub. Date Closing Date Action
{{ ++$k }} @if($u->rfp_title) {{ $u->rfp_title }} @else N/A @endif {{ $us->user_id }} {{ $us->name }}N/A N/A{{ Carbon\Carbon::parse($u->publish_date)->format('d-M-Y') }} {{ Carbon\Carbon::parse($u->closing_date)->format('d-M-Y') }} @php $userId= Auth::user()->user_type; @endphp @if ($userId == 0)
{{ csrf_field() }}
@endif @if($userrfpdel == 1) @endif @if($userrfpdel == 1)
{{ csrf_field() }}
@endif
S.no RFP Title User ID Organisation Org. Pub. Date Closing Date Action
@endsection