@extends('layouts.admin-page') @section('pageTitle',__('site.employers')) @section('page-title',__('site.profile').': '.$employer->name) @section('page-content')
@can('access','view_employers') @endcan @can('access','edit_employer') @endcan @can('access','delete_employer')
{{ method_field('DELETE') }} {{ csrf_field() }}
@endcan

{{ $employer->name }}
{{ gender($employer->employer->gender) }}
{{ $employer->email }}
{{ $employer->telephone }}
{{ gender($employer->employer->gender) }}
{{ boolToString($employer->employer->active) }}
{{ \Illuminate\Support\Carbon::parse($employer->created_at)->format('d/M/Y') }}
@foreach(\App\EmployerFieldGroup::get() as $group)

@foreach($group->employerFields()->orderBy('sort_order')->get() as $field)