© 2026 Hedgehog Software, LLC
protected function getActions(): array { return [ Action::make('Mark Ready') ->action(function (array $data): void { $this->record->marked_ready_at = now(); $this->record->save(); $this->refreshFormData([ 'marked_ready_at', ]); }) ->requiresConfirmation() ->modalHeading('Booking Ready') ->modalSubheading('Are you sure.') ->modalButton('Yes, it\'s ready'), Actions\ViewAction::make(), Actions\DeleteAction::make(), ]; }
->hidden(fn () => (bool) $this->record->marked_ready_at)