mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-29 07:53:23 +00:00
fix: Ajout du mode Visu
This commit is contained in:
@ -11,6 +11,7 @@ export default function PaymentMethodSelector({
|
||||
tuitionPaymentPlans,
|
||||
errors,
|
||||
setIsPageValid,
|
||||
enable = true,
|
||||
}) {
|
||||
useEffect(() => {
|
||||
const isValid = !Object.keys(formData).some(
|
||||
@ -94,6 +95,7 @@ export default function PaymentMethodSelector({
|
||||
errorMsg={getError('registration_payment')}
|
||||
errorLocalMsg={getLocalError('registration_payment')}
|
||||
required
|
||||
disabled={!enable}
|
||||
/>
|
||||
|
||||
<RadioList
|
||||
@ -122,6 +124,7 @@ export default function PaymentMethodSelector({
|
||||
}}
|
||||
fieldName="registration_payment_plan"
|
||||
className="mt-4"
|
||||
disabled={!enable}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@ -155,6 +158,7 @@ export default function PaymentMethodSelector({
|
||||
errorMsg={getError('tuition_payment')}
|
||||
errorLocalMsg={getLocalError('tuition_payment')}
|
||||
required
|
||||
disabled={!enable}
|
||||
/>
|
||||
|
||||
<RadioList
|
||||
@ -179,6 +183,7 @@ export default function PaymentMethodSelector({
|
||||
getError('tuition_payment_plan') ||
|
||||
getLocalError('tuition_payment_plan')
|
||||
}
|
||||
disabled={!enable}
|
||||
/>
|
||||
</div>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user