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