diff options
author | eug-vs <eug-vs@keemail.me> | 2021-04-17 13:39:30 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-04-17 13:41:29 +0300 |
commit | 1bf07892f2cd8007f48469c42fa9fcc84d5ef435 (patch) | |
tree | 054d600ffa414a71f15e2dc7606121649f7587ca /src/services/waybills/index.ts | |
parent | a4a1c456e0788ca52261efb38ff3998710a42a59 (diff) | |
download | commercel-ui-1bf07892f2cd8007f48469c42fa9fcc84d5ef435.tar.gz |
feat: correctly add filters from Service JSON
Diffstat (limited to 'src/services/waybills/index.ts')
-rw-r--r-- | src/services/waybills/index.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/services/waybills/index.ts b/src/services/waybills/index.ts index a26318b..ae1c8d3 100644 --- a/src/services/waybills/index.ts +++ b/src/services/waybills/index.ts @@ -14,6 +14,7 @@ const service: ServiceParams<Waybill> = { { key: 'total', label: 'Сумма' }, { key: 'contractor.name', label: 'Контрагент' }, ], + filters: ['status', 'operation', 'contractor.name'], default: { operation: 'in', records: [], |