✨ new popup
This commit is contained in:
parent
3107310d24
commit
16b3dd45a0
@ -31,7 +31,7 @@ export default function SubscriptionFacturation() {
|
|||||||
|
|
||||||
const { close: closeCancelSubscription, isOpen: isCancelSubscriptionOpen } = useOpenable();
|
const { close: closeCancelSubscription, isOpen: isCancelSubscriptionOpen } = useOpenable();
|
||||||
const { close: closeConfirmation, isOpen: isConfirmationOpen } = useOpenable();
|
const { close: closeConfirmation, isOpen: isConfirmationOpen } = useOpenable();
|
||||||
|
const { close: closeConfirmationRemoveSeats, isOpen: isConfirmationRemoveSeatsOpen, open: openConfirmationRemoveSeats } = useOpenable();
|
||||||
// const cancelSubscription = useCallback(() => {
|
// const cancelSubscription = useCallback(() => {
|
||||||
// closeCancelSubscription();
|
// closeCancelSubscription();
|
||||||
// openConfirmation();
|
// openConfirmation();
|
||||||
@ -160,7 +160,7 @@ export default function SubscriptionFacturation() {
|
|||||||
href={
|
href={
|
||||||
Module.getInstance().get().modules.pages.Subscription.pages.Manage.pages.Standard.props.path
|
Module.getInstance().get().modules.pages.Subscription.pages.Manage.pages.Standard.props.path
|
||||||
}> */}
|
}> */}
|
||||||
<Button onClick={manageBilling} fullwidth variant={EButtonVariant.PRIMARY}>
|
<Button onClick={openConfirmationRemoveSeats} fullwidth variant={EButtonVariant.PRIMARY}>
|
||||||
Changer de plan
|
Changer de plan
|
||||||
</Button>
|
</Button>
|
||||||
{/* </Link> */}
|
{/* </Link> */}
|
||||||
@ -294,6 +294,21 @@ export default function SubscriptionFacturation() {
|
|||||||
</MessageBox>
|
</MessageBox>
|
||||||
</div>
|
</div>
|
||||||
</Confirm>
|
</Confirm>
|
||||||
|
|
||||||
|
<Confirm
|
||||||
|
isOpen={isConfirmationRemoveSeatsOpen}
|
||||||
|
onClose={closeConfirmationRemoveSeats}
|
||||||
|
onAccept={manageBilling}
|
||||||
|
closeBtn
|
||||||
|
confirmText={"Continuer"}
|
||||||
|
cancelText={"Annuler"}>
|
||||||
|
<div className={classes["modal-content"]}>
|
||||||
|
<Typography typo={ITypo.P_16} color={ITypoColor.BLACK}>
|
||||||
|
En cas de suppression de sièges, les derniers comptes ajoutés seront concernés. Vous pouvez réattribuer les sièges
|
||||||
|
que vous avez dans votre page sur la page "Gérer mes attributions”.
|
||||||
|
</Typography>
|
||||||
|
</div>
|
||||||
|
</Confirm>
|
||||||
</DefaultTemplate>
|
</DefaultTemplate>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user