@extends('layouts.provider') @section('title', 'Nouveau rendez-vous') @section('page-title', '') @section('header-class', 'hidden') @section('footer-class', 'hidden') @section('content')

{{ $appointment ? 'Modifier le rendez-vous' : 'Nouveau rendez-vous' }}

à partir de

1
Service
Sélectionner un service
@if($services->isEmpty())

Aucun service disponible.

+ Créer un service
@else
@endif
2
Horaire & Prix
Choisir l'horaire
6h 9h 12h 15h 18h 21h
· ·
· ·
Durée

⚠️ Durée changée (min au lieu de min).

⚠️ Ce créneau horaire chevauche un rendez-vous existant.

Tous les
📅
(régulier)
3
Client
Sélectionner un client
@if($clients->isEmpty())

Aucun client disponible.

+ Créer un client
@else
@endif

Nouveau client

4
Confirmation
Vérifier les infos

🔒 RDV verrouillé (Facturé) : seule la note est modifiable.

@if(can_access_module('appointments', 'update_status'))
Programmé
Terminé
Annulé
@else
@endif
@if($appointment)
Créé par {{ $appointment->creator ? $appointment->creator->name : 'Système' }}, le {{ $appointment->created_at->format('d/m/Y à H:i') }}
@if($appointment->updater)
Modifié par {{ $appointment->updater->name }}, le {{ $appointment->updated_at->format('d/m/Y à H:i') }}
@endif
@endif
@if($appointment)
Créé par {{ $appointment->creator ? $appointment->creator->name : 'Système' }}, le {{ $appointment->created_at->format('d/m/Y à H:i') }}
@if($appointment->updater)
Modifié par {{ $appointment->updater->name }}, le {{ $appointment->updated_at->format('d/m/Y à H:i') }}
@endif
@endif
@if($appointment && $appointment->payments->count() === 0 && can_access_module('appointments', 'delete')) @endif
@endsection