@extends('pia.layouts.app') @section('title','Employer List') @section('content')

Employer List

Create New

@foreach($employers as $key=>$employer) @endforeach
Sl.No Employer Name District Contact Number Email Id Status Actions
{{ ($key+1) }} {{ $employer->name }} {{ $employer->District->name }} {{ $employer->phone_number }} {{ $employer->email }} @if($employer->status==11)
Waiting for Approval
@else @if($employer->status==1) @if($employer->approval_status==11)
Approval Pending
@elseif($employer->approval_status==1)
Active
@endif @endif @endif
@if(auth()->user()->user_role_id==1) @if($employer->approval_status==1) @else @endif @elseif(auth()->user()->user_role_id==4) @if(auth()->user()->id==$employer->created_by) @endif @endif
@endsection