@extends('app') @section('content')
{!! Form::open([ 'action' => 'Admin\LiabilitiesController@index', 'method' => 'GET', 'class' => 'form-horizontal' ])!!}
Próximos Compromisos
{!!Form::label('management_id','Gerencia',['class'=>'col-sm-3 control-label'])!!}
{!!Form::select('management_id',[null=>'Todas las gerencias']+$managements,Input::get('management_id'),['class'=>'form-control'])!!}
{!! Form::close() !!}
@forelse($appointments as $appointment)

{{$appointment->datetime->format('Y-m-d H:i')}} {{$appointment->client->fullname}}

{{$appointment->comments}}

@empty
No hay compromisos que mostrar
@endforelse
{!! $appointments->appends(Input::all())->render() !!}
@stop