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

Atendimentos

@alerts @endalerts
@button([ 'route' => 'admin.agendamentos-atendimentos.index', 'routeParams' => ['tipo' => 'ODONTOLOGICO'], 'icon' => 'calendar', 'label' => 'Agenda', 'class' => 'btn-primary' ]) @endbutton
@foreach ($atendimentos as $atendimento) @endforeach
Paciente Horário agendamento Término atendimento Ação
{{ $atendimento->agendamento->agendavel->nome }} {{ $atendimento->agendamento->inicio->format('d/m/Y H:i') }} - {{ $atendimento->agendamento->fim->format('H:i') }} {{ $atendimento->created_at->format('d/m/Y H:i') }} @button([ 'route' => 'admin.atendimentos-odontologicos.edit', 'routeParams' => ['atendimento' => $atendimento, 'agendamento' => $atendimento->agendamento], 'class' => 'btn-primary', 'label' => 'Visualizar/Editar', 'icon' => 'edit' ]) @endbutton
{{ $atendimentos->links() }}
@endsection