+
{recordTask?.customer?.name}
@@ -264,8 +274,12 @@ const TaskModal = ({
@@ -301,36 +315,36 @@ const TaskModal = ({
- Comapany
-
+
Comapany
+
{recordTask?.company?.name}
- Driver
-
+
Driver
+
{recordTask?.customer?.name}
- Service
-
+
Service
+
{recordTask?.service?.title}
- Team
- {teamName}
+ Team
+ {teamName}
- Assignee
-
+
Assignee
+
{recordTask?.in_charge?.username}
- PTI
-
+
PTI
+
{pti === false ? "Do" : "No need"}
- Created at
-
+
Created at
+
{moment(
recordTask?.created_at,
"YYYY-MM-DD HH:mm:ss"
@@ -358,7 +372,7 @@ const TaskModal = ({
-
+
patchTask()}
>
@@ -495,7 +513,7 @@ const TaskModal = ({
alignItems: "center",
justifyContent: "space-between",
borderRadius: 8,
- color: !theme ? "rgba(15, 17, 28, 1)" : "#bbb",
+ color: !themes ? "rgba(15, 17, 28, 1)" : "#bbb",
border: "1px solid rgba(215, 216, 224, 1)",
boxShadow: "0px 1px 3px 0px rgba(20, 22, 41, 0.1)",
}}
diff --git a/src/Components/Tasks/TaskTable.tsx b/src/Components/Tasks/TaskTable.tsx
index 5dd995b..c233043 100644
--- a/src/Components/Tasks/TaskTable.tsx
+++ b/src/Components/Tasks/TaskTable.tsx
@@ -327,24 +327,40 @@ const TaskTable = ({
{
title: "Created at",
dataIndex: "created",
- width: "12%",
+ width: "15%",
key: "10",
- responsive: ["xxl"],
+ // responsive: ["xxl"],
ellipsis: {
showTitle: false,
},
- render: (note: string) => (
-
- {note}
-
+ render: (note: string, record: TTask) => (
+
+
+ {note}
+
+
+ {record?.via_telegram && (
+
+
+
+ )}
+
+
),
},
{
title: "Actions",
dataIndex: "action",
- width: isMobile ? "3%" : "10%",
+ width: "10%",
key: "11",
- fixed: isMobile ? "right" : false,
+ fixed: "right",
render: (text: string, record: TTask) => {
return (
@@ -429,7 +445,7 @@ const TaskTable = ({
columns={columns as any}
loading={isLoading}
rowClassName={rowClassName}
- scroll={{ x: "768px" }}
+ scroll={{ x: "800px" }}
bordered
// pagination={{
// pageSize: 10,