@php $isValidated = $entry->status === 'validated'; $modalId = 'valide-modal-' . $entry->getKey(); @endphp {{-- Toggle button --}} {{-- Modal --}} @push('after_scripts') @if(request()->ajax()) @endpush @endif @if(!request()->ajax()) @endpush @endif