@extends('layouts.admin') @section('content')

Buscar servidor

@alerts @endalerts @if ($servidores->count() == 0 && $busca != null)

Nenhum servidor foi encontrado

@endif
@if ($servidores->count() == 0 && $busca != null) Cadastrar @endif
@if ($servidores->count() > 0) @foreach ($servidores as $servidor) @endforeach
Nome Situação Ação
{{ $servidor->nome }} {{ $servidor->situacao() }} @button([ 'route' => 'admin.guia-atendimento.create', 'routeParams' => ['servidor' => $servidor], 'class' => 'btn-primary', 'label' => 'Atender', 'icon' => 'clipboard' ]) @endbutton
{{ $servidores->links() }} @endif
@endsection