diff --git a/src/pages/AgencyCapping/components/Table/index.tsx b/src/pages/AgencyCapping/components/Table/index.tsx index 991502c7..45c01734 100644 --- a/src/pages/AgencyCapping/components/Table/index.tsx +++ b/src/pages/AgencyCapping/components/Table/index.tsx @@ -23,6 +23,15 @@ export const AGENCY_CAPPING_COL_DEFS: NaviTableColumnDef[] = [ size: 180, tooltip: true }, + { + accessorKey: 'cappingValueDpd1To30', + header: 'DPD 1-30', + size: 180, + cell: info => { + return info.getValue() === null ? 'No capping' : info.getValue(); + }, + tooltip: true + }, { accessorKey: 'cappingValueDpd31To90', header: 'DPD 31-90', diff --git a/src/pages/AgencyPincodeMapping/components/DataTable/index.tsx b/src/pages/AgencyPincodeMapping/components/DataTable/index.tsx index 22d2d819..5822fe82 100644 --- a/src/pages/AgencyPincodeMapping/components/DataTable/index.tsx +++ b/src/pages/AgencyPincodeMapping/components/DataTable/index.tsx @@ -36,6 +36,7 @@ const columnDefs = [ cellRenderer: (params: ICellRendererParams) => `${params?.data?.serviceablePincodesInDistrict}/${params?.data?.totalPincodesInDistrict}` }, + { field: 'serviceablePincodesInDpd1To30', headerName: '1-30 bucket' }, { field: 'serviceablePincodesInDpd31To90', headerName: '31-90 bucket' }, { field: 'serviceablePincodesInDpd90Plus', headerName: '90+ bucket' } ]; diff --git a/src/pages/AgencyPincodeMapping/types.ts b/src/pages/AgencyPincodeMapping/types.ts index 8a937cf4..c6433d65 100644 --- a/src/pages/AgencyPincodeMapping/types.ts +++ b/src/pages/AgencyPincodeMapping/types.ts @@ -14,6 +14,7 @@ export interface Serviceability { state: string; district: string; serviceablePincodesInDistrict: string; + serviceablePincodesInDpd1To30: string; serviceablePincodesInDpd31To90: string; serviceablePincodesInDpd90Plus: string; }