summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2021-04-20 14:56:18 +0300
committereug-vs <eug-vs@keemail.me>2021-04-20 14:56:18 +0300
commit7db2d671b266d422606a845683a1c3a2ea75d68a (patch)
treef08d1a5aa6c9c2b2abefa26b1dac62c00426cd5a
parent8168218491ef454576079ad119e5deacf879d383 (diff)
downloadcommercel-ui-7db2d671b266d422606a845683a1c3a2ea75d68a.tar.gz
feat: enable name search in Contractors
-rw-r--r--src/services/contractors/index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/services/contractors/index.ts b/src/services/contractors/index.ts
index 9730eff..2298ca5 100644
--- a/src/services/contractors/index.ts
+++ b/src/services/contractors/index.ts
@@ -12,6 +12,7 @@ const service: ServiceParams<Contractor> = {
{ key: 'name', label: 'Название' },
{ key: 'debt', label: 'Долг' },
],
+ searchBy: ['name'],
default: {
name: '',
vatId: '',