@extends('admin.layouts.app') @php $agency_data = @$agency_data; $agency_type = config('common.agency_type'); @endphp @section('content')

Agency Manager

Agencies

List of Agencies

@if(check_route_access('agency.add.form')) @endif
{{ csrf_field() }}
Reset
@include('admin.includes.status')
@if (!empty($agency_data)) @foreach($agency_data as $ad) @php $status = ($ad->status == 1) ? "Active" : "De-Active"; $status_class = ($ad->status == 1) ? "success" : "danger"; $agency_types = config('common.agency_type'); $agency_type = (!empty($agency_types[$ad->agency_type])) ? $agency_types[$ad->agency_type] : ""; $agency_desc = ""; if($agency_type == "Registration"){ $agency_desc = "Handle Registration Stage"; } elseif($agency_type == "Placement"){ $agency_desc = "Handle Registration & Hiring Stage"; } elseif($agency_type == "Sponsor"){ $agency_desc = "Handle Registration & Visa Stage"; } elseif($agency_type == "General"){ $agency_desc = "Handle Registration, Hiring & Visa Stage"; } @endphp @endforeach @endif
Agency Name Agency Type Agency Address Status Action
{{ $ad->agency_name }} {{ $agency_type }} ({{ $agency_desc }}) {{ $ad->agency_address }} {{ $status }} @if(check_route_access('user.list')) @endif @if(check_route_access('agency.feestructure')) @endif @if(check_route_access('agency.edit.form')) @endif @if(check_route_access('agency.delete')) @endif
@endsection @section('scripts') @endsection