subs filter

This commit is contained in:
Vu Khanh Du 2024-02-02 17:19:17 +07:00
parent 67daa2d157
commit 245a5d3ba0

View File

@ -32,6 +32,13 @@ const columns: TableColumnsType<DataType> = [
if (record.subSidiaries === '+') return '';
return record.subSidiaries;
},
filters: [
{ text: 'all', value: 'all' },
{ text: 'sesp', value: 'sesp' },
{ text: 'seau', value: 'seau' },
],
filterMode: 'menu',
onFilter: (value: string, record) => record.subSidiaries.includes(value),
},
{
title: 'OCR extraction date',