diff --git a/public/locales/fa/app.json b/public/locales/fa/app.json index 4e26061..f1d29a0 100644 --- a/public/locales/fa/app.json +++ b/public/locales/fa/app.json @@ -555,6 +555,7 @@ "vehicle_type": "نوع ماشین", "state_name": "وضعیت درخواست", "history": "تاریخچه", + "province_name": "استان", "Table_history_error": "خطا در دریافت اطلاعات", "history_report": "فایل ضمیمه", "Table_head_name": "نام", diff --git a/src/components/dashboard/loan-history/index.jsx b/src/components/dashboard/loan-history/index.jsx index 66f28de..6e256df 100644 --- a/src/components/dashboard/loan-history/index.jsx +++ b/src/components/dashboard/loan-history/index.jsx @@ -167,6 +167,18 @@ function DashboardLoanHistoryComponent() { {renderedCellValue} ), }, + { + accessorFn: (row) => row.province_name, + id: "province_name", + header: t("LoanHistory.province_name"), + enableColumnFilter: true, + datatype: "text", + filterFn: "contains", + columnFilterModeOptions: ["contains", "equals", "notEquals"], + Cell: ({renderedCellValue}) => ( + {renderedCellValue} + ), + }, { accessorFn: (row) => row.vehicle_type, id: "vehicle_type",