{!! Form::open([ 'method' => 'GET', 'class' => 'form-horizontal' ]) !!} {!! Form::hidden('active_tab', 'executive') !!}
{!!Form::text('executive[employee_number]', (Input::get('executive')['employee_number']), ['class' => 'form-control', 'maxlength' => 6])!!}
{!! Form::select('executive[management_id]', [NULL => 'Todas las gerencias'] + $managements, Input::get('executive')['management_id'], ['class' => 'form-control']) !!}
{!! Form::close() !!} @unless($executives->count() == 0)

@endunless @if($executives->count() > 0)
@foreach ($executives as $executive) @if($focus = Session::get('focus')) @else @endif @endforeach
No. empleado Nombre(s) Apellido(s) Usuario CUSP Gerencia Gerente
{{$executive->employee_number}} {{$executive->first_name}} {{$executive->last_name}} {{$executive->cusp}} {{$executive->management->name or 'N/A'}} {{$executive->manager->fullname or 'No asignado'}} @include('admin.users.partials.actions', ['user' => $executive])
{!! $executives->appends(Input::only(['executive']) + ['active_tab' => 'executive'])->render()!!}
@else
No hay usuarios que mostrar
@endif