✨ small modifications
This commit is contained in:
parent
380ece7ed3
commit
4a03df7dc8
@ -1,7 +1,10 @@
|
||||
import Typography, { ITypo, ITypoColor } from "@Front/Components/DesignSystem/Typography";
|
||||
import classes from "./classes.module.scss";
|
||||
import { EForfeitType } from "../../SubscriptionFacturation";
|
||||
|
||||
type IProps = {};
|
||||
type IProps = {
|
||||
forfeitType: EForfeitType;
|
||||
};
|
||||
export default function SubscriptionTicket(props: IProps) {
|
||||
return (
|
||||
<div className={classes["root"]}>
|
||||
|
@ -10,10 +10,6 @@ import { useCallback, useState } from "react";
|
||||
import { TrashIcon } from "@heroicons/react/24/outline";
|
||||
import PlusIcon from "@Assets/Icons/plus.svg";
|
||||
|
||||
export enum EForfeitType {
|
||||
"standard",
|
||||
"unlimited",
|
||||
}
|
||||
type EmailLine = {
|
||||
element: JSX.Element;
|
||||
id: number;
|
||||
|
@ -8,7 +8,7 @@ import Link from "next/link";
|
||||
|
||||
export default function SubscriptionNew() {
|
||||
return (
|
||||
<DefaultTemplate title="Nouvelle souscription" hasBackArrow>
|
||||
<DefaultTemplate title="Nouvelle souscription" hasHeaderLinks={false}>
|
||||
<div className={classes["root"]}>
|
||||
<div className={classes["top-container"]}>
|
||||
<div className={classes["top-container-title"]}>
|
||||
|
@ -7,6 +7,7 @@ import SubscriptionClientInfos from "../Components/SubscriptionClientInfos";
|
||||
import Button from "@Front/Components/DesignSystem/Button";
|
||||
import Link from "next/link";
|
||||
import Module from "@Front/Config/Module";
|
||||
import { EForfeitType } from "../SubscriptionFacturation";
|
||||
|
||||
export default function SubscriptionSuccess() {
|
||||
return (
|
||||
@ -36,7 +37,7 @@ export default function SubscriptionSuccess() {
|
||||
</Link>
|
||||
</div>
|
||||
<div className={classes["right"]}>
|
||||
<SubscriptionTicket />
|
||||
<SubscriptionTicket forfeitType={EForfeitType.standard} />
|
||||
</div>
|
||||
</div>
|
||||
</DefaultTemplate>
|
||||
|
Loading…
x
Reference in New Issue
Block a user