{{-- Shared across every date-editing surface that uses HasDateCascade (ViewProject's tree, Apercu\ElementDetail, ViewProjectElement) — one partial, no duplicated markup. Same "gated by a Blade @if, not an Alpine x-show" pattern as move-modal.blade.php, for the same reason: the content depends on server-computed state ($dateCascadeAffected), so it shouldn't exist in the DOM until that state is actually ready. --}} {{-- `x-teleport="body"` — a `fixed` element loses its viewport-relative positioning if any ancestor has a CSS `transform` (Filament's own slide-over panel does, for its slide-in/out animation), and gets trapped inside that ancestor's box instead — invisible in practice. Teleporting to `
` sidesteps this regardless of which surface includes this partial (tree, Aperçu slide-over, dedicated page); same technique Filament's own modals already use internally. --}} @if ($dateCascadeElementId !== null)Cette date {{ $dateCascadeField === 'start_date' ? 'de début' : "d'échéance" }} dépasse celle{{ count($dateCascadeAffected) > 1 ? 's' : '' }} de :
Voulez-vous ajuster {{ count($dateCascadeAffected) > 1 ? 'leurs dates' : 'sa date' }} en conséquence, ou seulement changer cette date-ci ?