diff --git a/src/components/ClientCard.tsx b/src/components/ClientCard.tsx index cceda6d..71c4cdb 100644 --- a/src/components/ClientCard.tsx +++ b/src/components/ClientCard.tsx @@ -1,14 +1,14 @@ -import { IUser } from "../types/IUser"; +import { Client } from "../types/IClient"; import ChevronRightIcon from "./icons/ChevronRightIcon"; import NewButton from "./NewButton"; -function ClientCard({ client }: { client: IUser }) { +function ClientCard({ client }: { client: Client }) { return ( <>

Клиент

-

{client.fullname}

+

{client.name}

{!client.email && ( diff --git a/src/components/DesktopCard.tsx b/src/components/DesktopCard.tsx index 65f5126..f5258c8 100644 --- a/src/components/DesktopCard.tsx +++ b/src/components/DesktopCard.tsx @@ -28,7 +28,7 @@ export default function DesktopCard({ server }: IDesktopCardProps) {
@@ -53,7 +53,7 @@ export default function DesktopCard({ server }: IDesktopCardProps) {
{server.sessions?.[0]?.status === "starting" ? ( -
+
diff --git a/src/components/SessionCommentItem.tsx b/src/components/SessionCommentItem.tsx index 8f2ac6f..9c5122d 100644 --- a/src/components/SessionCommentItem.tsx +++ b/src/components/SessionCommentItem.tsx @@ -5,7 +5,7 @@ import { format } from "date-fns"; function SessionCommentItem({ comment }: { comment: Comment }) { return ( -
+

{comment.owner.fullname}

diff --git a/src/components/modals/CurrentSessionModal.tsx b/src/components/modals/CurrentSessionModal.tsx index c10cd41..629bc20 100644 --- a/src/components/modals/CurrentSessionModal.tsx +++ b/src/components/modals/CurrentSessionModal.tsx @@ -40,13 +40,13 @@ function CurrentSessionModal({ session }: { session: Session }) { if (!session) return null; return ( -

+

Текущий сеанс

-
+

{session.server.name}

@@ -86,7 +86,7 @@ function CurrentSessionModal({ session }: { session: Session }) {

Клиент

-

{session.client.fullname}

+

{session.client.name}

{!session.client.email && ( diff --git a/src/components/modals/EditTableModal.tsx b/src/components/modals/EditTableModal.tsx index 133bd41..40c2894 100644 --- a/src/components/modals/EditTableModal.tsx +++ b/src/components/modals/EditTableModal.tsx @@ -29,10 +29,10 @@ function EditTable({ table }: { table: Server }) { }); return ( -
+

Редактирование стола

-
+
+

{format(session.createdAt, "dd MMMM yyyy", { locale: ru })}

, {format(session.createdAt, "HH:mm")}

-
+
@@ -32,7 +32,7 @@ function SessionModal({ session }: { session: Session }) {

-
+

Информация о сеансе

@@ -68,7 +68,7 @@ function SessionModal({ session }: { session: Session }) {

-
+

Речевая  @@ -94,7 +94,7 @@ function SessionModal({ session }: { session: Session }) { 8 500 000 ₽

-
+
Клиент проявил высокий интерес к объекту, особенно к варианту с улучшенной отделкой. Основной вопрос для принятия решения — согласование с семьей и выбор этажа. Необходимо подготовить @@ -107,7 +107,7 @@ function SessionModal({ session }: { session: Session }) {
-
+

Документы по сеансу