@extends('layouts.admin-page-wide') @section('search-form',url('/admin/employers')) @section('pageTitle',__('site.employers')) @section('page-title') @lang('site.employers') ({{ $total }}) @if(Request::get('search')) : {{ Request::get('search') }} @endif @endsection @section('page-content')
@if(!empty($filterParams))
  • @lang('site.filter'):
  • @foreach($filterParams as $param) @if(null !== request()->get($param) && request()->get($param) != '')
  • {{ ucwords(str_ireplace('_',' ',$param)) }}
  • @endif @endforeach
@endif
@foreach(request()->all() as $key=>$value) @if($key != 'sort') @endif @endforeach


@foreach($employers as $item) @endforeach
# @lang('site.name') @lang('site.employed') @lang('site.telephone') @lang('site.email') @lang('site.active') @lang('site.actions')
{{ $loop->iteration + ( (Request::get('page',1)-1) * $perPage) }} {{ $item->name }} {{ $item->employer->employments->count() }} {{ $item->telephone }} {{ $item->email }} {{ boolToString($item->employer->active) }}
{{ method_field('DELETE') }} {{ csrf_field() }}
{!! clean( $employers->appends(request()->input())->render() ) !!}
@endsection