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

Histórico do paciente

@foreach ($atendimentos as $atendimento)
{{ $atendimento->created_at->format('d/m/Y H:i') }}
{{ $atendimento->tratamento_executado }}
@endforeach @if($atendimentos->count() == 0)

Não há atendimentos para esse processo

@endif
{{ $atendimentos->links() }}
@button([ 'route' => 'admin.atendimentos-odontologicos.create', 'routeParams' => ['agendamento' => $agendamento], 'icon' => 'arrow-left', 'label' => 'Atendimento', 'class' => 'btn-secondary' ]) @endbutton @button([ 'route' => 'admin.agendamentos-atendimentos.show', 'routeParams' => ['agendamento' => $agendamento], 'icon' => 'arrow-left', 'label' => 'Agendamento', 'class' => 'btn-secondary' ]) @endbutton
@endsection