assignee
parent
412c147a0b
commit
0df0ee49d0
|
@ -273,6 +273,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"table": {
|
"table": {
|
||||||
|
"assignedEmployee": "Zugewiesener Mitarbeiter",
|
||||||
"firstName": "Vorname",
|
"firstName": "Vorname",
|
||||||
"lastName": "Nachname",
|
"lastName": "Nachname",
|
||||||
"createdAt": "Erstellt am",
|
"createdAt": "Erstellt am",
|
||||||
|
|
|
@ -273,6 +273,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"table": {
|
"table": {
|
||||||
|
"assignedEmployee": "Assigned Employee",
|
||||||
"firstName": "First Name",
|
"firstName": "First Name",
|
||||||
"lastName": "Last Name",
|
"lastName": "Last Name",
|
||||||
"createdAt": "Created at",
|
"createdAt": "Created at",
|
||||||
|
|
|
@ -52,8 +52,8 @@ const CRM_TYPE = {
|
||||||
SETTER_CLOSER: 2,
|
SETTER_CLOSER: 2,
|
||||||
};
|
};
|
||||||
|
|
||||||
function MyBadge({ count }) {
|
function MyBadge({ count, color = "blue" }) {
|
||||||
return <Badge color="blue" count={count} overflowCount={100000} showZero />;
|
return <Badge color={color} count={count} overflowCount={100000} showZero />;
|
||||||
}
|
}
|
||||||
|
|
||||||
export default function CrmTest() {
|
export default function CrmTest() {
|
||||||
|
@ -99,9 +99,9 @@ export default function CrmTest() {
|
||||||
const getTableContent = () => {
|
const getTableContent = () => {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
title: "Assignee",
|
title: t("crm.table.assignedEmployee"),
|
||||||
dataIndex: "assignee",
|
dataIndex: "assignedEmployee",
|
||||||
key: "assignee",
|
key: "assignedEmployee",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: t("crm.table.firstName"),
|
title: t("crm.table.firstName"),
|
||||||
|
@ -160,7 +160,7 @@ export default function CrmTest() {
|
||||||
data.forEach((item) => {
|
data.forEach((item) => {
|
||||||
items.push({
|
items.push({
|
||||||
key: item.Id,
|
key: item.Id,
|
||||||
assignee: (
|
assignedEmployee: (
|
||||||
<>
|
<>
|
||||||
<Popover
|
<Popover
|
||||||
placement="right"
|
placement="right"
|
||||||
|
|
Loading…
Reference in New Issue