NTP-39858| Agency operations support for 1 to 30 field (#1391)

* NTP-39858| Agency operations support for 1 to 30 field

* NTP-39858| Agency operations support for 1 to 30 field

* NTP-39858| Agency operations support for 1 to 30 field
This commit is contained in:
Aishwarya Srivastava
2025-03-05 13:58:12 +05:30
committed by GitHub
parent 69d21f7a8a
commit b39ffeb3b2
3 changed files with 11 additions and 0 deletions

View File

@@ -23,6 +23,15 @@ export const AGENCY_CAPPING_COL_DEFS: NaviTableColumnDef<any, any>[] = [
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',

View File

@@ -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' }
];

View File

@@ -14,6 +14,7 @@ export interface Serviceability {
state: string;
district: string;
serviceablePincodesInDistrict: string;
serviceablePincodesInDpd1To30: string;
serviceablePincodesInDpd31To90: string;
serviceablePincodesInDpd90Plus: string;
}