@extends('layouts.admin') @section('page-title') {{__('Employee Profile')}} @endsection @section('action-button')
{{ Form::open(array('route' => array('employee.profile'),'method'=>'get','id'=>'employee_profile_filter')) }}
{{ Form::label('branch', __('Branch'),['class'=>'text-type']) }} {{ Form::select('branch',$brances,isset($_GET['branch'])?$_GET['branch']:'', array('class' => 'select-box select2')) }}
{{ Form::label('department', __('Department'),['class'=>'text-type']) }} {{ Form::select('department',$departments,isset($_GET['department'])?$_GET['department']:'', array('class' => 'select-box select2')) }}
{{ Form::label('designation', __('Designation'),['class'=>'text-type']) }}
{{ Form::close() }}
@endsection @section('content')
@forelse($employees as $employee)

{{ $employee->name }}

{{ !empty($employee->designation)?$employee->designation->name:'' }}
@empty
{{__('there is no employee')}}
@endforelse
@endsection @push('script-page') @endpush