CFE-6 add item to expert table and change add button text in expert page
This commit is contained in:
@@ -196,6 +196,7 @@
|
||||
"name": "نام کامل",
|
||||
"username": "نام کاربری",
|
||||
"email": "پست الکترونیک",
|
||||
"telephone_id": "کد تلفن",
|
||||
"phone_number": "شماره همراه",
|
||||
"national_id": "کد ملی",
|
||||
"position": "سمت",
|
||||
@@ -205,7 +206,7 @@
|
||||
"male": "مرد",
|
||||
"female": "زن",
|
||||
"updated_at": "آخرین بروزرسانی",
|
||||
"create": "افزودن کارشناس",
|
||||
"create": "افزودن",
|
||||
"personal_info": "مشخصات کارشناس",
|
||||
"user_info": "اطلاعات کاربری",
|
||||
"rest_info": "اطلاعات تکمیلی",
|
||||
|
||||
@@ -67,6 +67,18 @@ function ExpertManagementDataTable() {
|
||||
<Typography variant="body2">{renderedCellValue}</Typography>
|
||||
),
|
||||
},
|
||||
{
|
||||
accessorFn: (row) => row.telephone_id,
|
||||
id: "telephone_id",
|
||||
header: t("ExpertMangement.telephone_id"),
|
||||
enableColumnFilter: true,
|
||||
datatype: "numeric",
|
||||
filterFn: "equals",
|
||||
columnFilterModeOptions: ["contains", "equals", "notEquals"],
|
||||
Cell: ({renderedCellValue}) => (
|
||||
<Typography variant="body2">{renderedCellValue}</Typography>
|
||||
),
|
||||
},
|
||||
{
|
||||
accessorFn: (row) => row.phone_number,
|
||||
id: "phone_number",
|
||||
|
||||
Reference in New Issue
Block a user