From b4e29496ef49de6315b087538112b3d9773b3ecb Mon Sep 17 00:00:00 2001 From: Lim Zi Yang Date: Sun, 28 Apr 2024 18:36:38 +0800 Subject: [PATCH] feat: add service request ids to table --- .../(main)/admin-service-requests-dashboard/columns.tsx | 4 ++++ .../(main)/your-service-request-dashboard/columns.tsx | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/frontend/src/app/(authenticated)/(main)/admin-service-requests-dashboard/columns.tsx b/frontend/src/app/(authenticated)/(main)/admin-service-requests-dashboard/columns.tsx index d9e4e7dc..e87d39e3 100644 --- a/frontend/src/app/(authenticated)/(main)/admin-service-requests-dashboard/columns.tsx +++ b/frontend/src/app/(authenticated)/(main)/admin-service-requests-dashboard/columns.tsx @@ -27,6 +27,10 @@ export const orgServiceRequestColumns: ColumnDef[] = [ return }, }, + { + accessorKey: "id", + header: "Service Request ID", + }, { id: "service_name", header: "Service Name", diff --git a/frontend/src/app/(authenticated)/(main)/your-service-request-dashboard/columns.tsx b/frontend/src/app/(authenticated)/(main)/your-service-request-dashboard/columns.tsx index 02529aa4..503c92d4 100644 --- a/frontend/src/app/(authenticated)/(main)/your-service-request-dashboard/columns.tsx +++ b/frontend/src/app/(authenticated)/(main)/your-service-request-dashboard/columns.tsx @@ -25,6 +25,10 @@ export const columns: ColumnDef[] = [ return }, }, + { + accessorKey: "id", + header: "Service Request ID", + }, { id: "service_name", header: "Service Name",