diff --git a/src/components/Dnd/DealSummaryCard/DealSummaryCard.tsx b/src/components/Dnd/DealSummaryCard/DealSummaryCard.tsx index f3c7899..d5c6a33 100644 --- a/src/components/Dnd/DealSummaryCard/DealSummaryCard.tsx +++ b/src/components/Dnd/DealSummaryCard/DealSummaryCard.tsx @@ -2,7 +2,7 @@ import {FC} from "react"; import {DealService, DealSummary} from "../../../client"; import styles from './DealSummaryCard.module.css'; -import {ActionIcon, Text, Image} from '@mantine/core'; +import {ActionIcon, Text, Image, Badge} from '@mantine/core'; import classNames from "classnames"; import {useDealPageContext} from "../../../pages/LeadsPage/contexts/DealPageContext.tsx"; @@ -37,6 +37,7 @@ const DealSummaryCard: FC = ({dealSummary}) => { return (
onDealSummaryClick()} className={styles['container']}>
+
Клиент: {dealSummary.clientName} @@ -56,7 +57,7 @@ const DealSummaryCard: FC = ({dealSummary}) => {
- +
@@ -65,6 +66,11 @@ const DealSummaryCard: FC = ({dealSummary}) => { {new Date(dealSummary.deadline).toLocaleString('ru-RU').slice(0, -3)}
+
+ + ID: {dealSummary.id} + +
diff --git a/src/pages/LeadsPage/drawers/DealEditDrawer/tabs/DealEditDrawerGeneralTab.tsx b/src/pages/LeadsPage/drawers/DealEditDrawer/tabs/DealEditDrawerGeneralTab.tsx index 8d71a7a..bd2aecc 100644 --- a/src/pages/LeadsPage/drawers/DealEditDrawer/tabs/DealEditDrawerGeneralTab.tsx +++ b/src/pages/LeadsPage/drawers/DealEditDrawer/tabs/DealEditDrawerGeneralTab.tsx @@ -91,7 +91,7 @@ const Content: FC = ({deal}) => { return (
handleSubmit(values))}> -
+