{
+ setFilteredTeamProjectResult(
+ teamProjectResult.filter(
+ (cp:any) =>
+ cp.projectCode.toLowerCase().includes(query.projectCode.toLowerCase()) &&
+ cp.projectName.toLowerCase().includes(query.projectName.toLowerCase())
+ ),
+ );
+ }}
+ />
+ )}
= ({ projects, projectCategories, abilities
const searchCriteria: Criterion[] = useMemo(
() => [
- { label: t("Project code"), paramName: "code", type: "text" },
- { label: t("Project name"), paramName: "name", type: "text" },
+ { label: t("Project Code"), paramName: "code", type: "text" },
+ { label: t("Project Name"), paramName: "name", type: "text" },
{
- label: t("Client name"),
+ label: t("Client Name"),
paramName: "client",
type: "autocomplete",
options: uniqBy(projects.map((project) => ({value: project.client, label: project.client})), "value").sort((a, b) => a.value >= b.value ? 1 : -1),
},
{
- label: t("Project category"),
+ label: t("Project Category"),
paramName: "category",
type: "select",
options: projectCategories.map((category) => category.name),
diff --git a/src/i18n/en/dashboard.json b/src/i18n/en/dashboard.json
index 23d25ef..22feb43 100644
--- a/src/i18n/en/dashboard.json
+++ b/src/i18n/en/dashboard.json
@@ -155,5 +155,6 @@
"Stage": "Stage",
"Task Count": "Task Count",
"Total": "Total",
- "Status": "Status"
+ "Status": "Status",
+ "Check Project Status": "Check Project Status"
}
\ No newline at end of file
diff --git a/src/i18n/en/projects.json b/src/i18n/en/projects.json
index 9e26dfe..266a863 100644
--- a/src/i18n/en/projects.json
+++ b/src/i18n/en/projects.json
@@ -1 +1,16 @@
-{}
\ No newline at end of file
+{
+ "Project Management": "Project Management",
+ "Create Sub Project": "Create Sub Project",
+ "Create Project": "Create Project",
+ "Project Code": "Project Code",
+ "Project Name": "Project Name",
+ "Client Name": "Client Name",
+ "Client": "Client",
+ "Project Category": "Project Category",
+ "Team": "Team",
+ "Status": "Status",
+ "Details": "Details",
+ "Awarded Project": "Awarded Project",
+ "Project to be bidded": "Project to be bidded",
+ "On-going": "On-going"
+}
\ No newline at end of file
diff --git a/src/i18n/zh/dashboard.json b/src/i18n/zh/dashboard.json
index 406f84d..be87cd2 100644
--- a/src/i18n/zh/dashboard.json
+++ b/src/i18n/zh/dashboard.json
@@ -156,5 +156,6 @@
"Stage": "階段",
"Task Count": "工作數量",
"Total": "總計",
- "Status": "狀態"
+ "Status": "狀態",
+ "Check Project Status": "查看項目狀態"
}
\ No newline at end of file
diff --git a/src/i18n/zh/projects.json b/src/i18n/zh/projects.json
index 9e26dfe..93550f4 100644
--- a/src/i18n/zh/projects.json
+++ b/src/i18n/zh/projects.json
@@ -1 +1,16 @@
-{}
\ No newline at end of file
+{
+ "Project Management": "項目管理",
+ "Create Sub Project": "創建子項目",
+ "Create Project": "創建項目",
+ "Project Code": "項目代碼",
+ "Project Name": "項目名稱",
+ "Client Name": "客戶名稱",
+ "Client": "客戶",
+ "Project Category": "項目類別",
+ "Team": "團隊",
+ "Status": "狀態",
+ "Details": "詳細信息",
+ "Awarded Project": "已獲得的項目",
+ "Project to be bidded": "待投標項目",
+ "On-going": "進行中"
+}
\ No newline at end of file