diff --git a/src/Admin/DonationAdmin.php b/src/Admin/DonationAdmin.php index 4e304b0627..24a0504f9d 100644 --- a/src/Admin/DonationAdmin.php +++ b/src/Admin/DonationAdmin.php @@ -138,7 +138,7 @@ protected function configureFormFields(FormMapper $form): void ->add('membership', CheckboxType::class, [ 'label' => 'Cotisation', 'required' => false, - 'disabled' => $donation->isMembership(), + 'disabled' => $donation->isMembership() || null === $donation->getDonator()?->getAdherent(), ]) ->add('code', null, [ 'label' => 'Code don',