From 4e9d81ca719aa20b1645637ddace4f372336e151 Mon Sep 17 00:00:00 2001 From: Amin Ghasempoor Date: Sun, 16 Jul 2023 15:59:31 +0330 Subject: [PATCH] change id to national id --- public/locales/fa/app.json | 4 ++-- src/components/dashboard/machinary-office/index.jsx | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/public/locales/fa/app.json b/public/locales/fa/app.json index ef91fef..f50b62e 100644 --- a/public/locales/fa/app.json +++ b/public/locales/fa/app.json @@ -93,7 +93,7 @@ }, "PassengerOffice": { "name": "نام", - "id": "کد ملی", + "national_id": "کد ملی", "phone_number": "موبایل", "created_at": "تاریخ درخواست", "updated_at": "تاریخ بروزرسانی", @@ -103,7 +103,7 @@ }, "MachinaryOffice": { "name": "نام", - "id": "کد ملی", + "national_id": "کد ملی", "phone_number": "موبایل", "created_at": "تاریخ درخواست", "updated_at": "تاریخ بروزرسانی", diff --git a/src/components/dashboard/machinary-office/index.jsx b/src/components/dashboard/machinary-office/index.jsx index 8a88f5f..bcd3eb4 100644 --- a/src/components/dashboard/machinary-office/index.jsx +++ b/src/components/dashboard/machinary-office/index.jsx @@ -24,9 +24,9 @@ function DashboardMachinaryOfficeComponent() { ), }, { - accessorFn: (row) => row.id, - id: "id", - header: t("MachinaryOffice.id"), + accessorFn: (row) => row.national_id, + id: "national_id", + header: t("MachinaryOffice.national_id"), enableColumnFilter: true, datatype: "numeric", filterFn: "equals",