@extends('layouts.dental') @section('title', isset($appointment) ? 'Editar Consulta' : 'Nova Consulta') @section('content')
@csrf @if(isset($appointment)) @method('PUT') @endif
{{-- Abas Consulta / Compromisso --}}
{{-- Busca de Paciente --}}
{{-- Profissional + Cadeira --}}
{{-- Data + Hora + Duração --}}
Encontrar horário livre
{{-- Procedimento --}}
{{-- Observação --}}
0 / 500
{{-- Toggle lembrete --}}
Enviar confirmação e lembrete de consulta automático
{{-- Footer com botões --}}
Cancelar
{{-- Hidden field starts_at montado via JS --}}
@if(isset($appointment)) {{-- Ações rápidas --}}

Ações Rápidas

@if($appointment->status === 'agendado')
@csrf @method('PATCH')
@endif @if(in_array($appointment->status, ['agendado','confirmado']))
@csrf @method('PATCH')
@csrf @method('PATCH')
@endif @if($appointment->status === 'em_atendimento')
@csrf @method('PATCH')
@endif
@endif @endsection