fix: nonaktifkan attach peserta jika kegiatan belum approved

This commit is contained in:
2026-04-04 09:18:45 +07:00
parent 4959dc3ce4
commit f816b73d1c
@@ -47,6 +47,7 @@ class ParticipantsRelationManager extends RelationManager
])
->headerActions([
AttachAction::make()->preloadRecordSelect()
->visible(fn () => $this->getOwnerRecord()->status === 'approved')
->form(fn (AttachAction $action) => [
$action->getRecordSelect(),
Select::make('status')