{!! Form::open([ 'method' => 'GET', 'class' => 'form-horizontal' ]) !!} {!! Form::hidden('active_tab', 'executive') !!}
{!!Form::text('employee_number', Input::get('employee_number'), ['class' => 'form-control', 'maxlength' => 6])!!}
{!! Form::select('management_id',[NULL => 'Todas las gerencias']+$managements, Input::get('management_id'), ['class' => 'form-control']) !!}
{!! Form::close() !!} @unless($executives->count() == 0)
@endunless @if($executives->count() > 0)
@foreach ($executives as $executive) @if($manager = $executive->manager) @else @endif @endforeach
No. empleado Centro de Costos Nombre(s) Usuario CUSP Gerencia Gerente
{{$executive->no_emp}} {{$executive->ccosto}} {{$executive->fullname}} {{$executive->cusp}} {{$manager->management ? $manager->management->name : 'N/A'}} {{$manager->full_name}} N/A No asignado @include('admin.users.partials.actions', ['user' => $executive])
{!! $executives->appends(Input::only(['employee_number', 'management_id']) + ['active_tab' => 'executive'])->render()!!}
@else
No hay usuarios que mostrar
@endif