summaryrefslogtreecommitdiff
path: root/src/services.js
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2021-03-14 13:39:31 +0300
committereug-vs <eug-vs@keemail.me>2021-03-14 13:39:31 +0300
commit2ff20a6b93a92f0cac6b9f5584e81e39407e51c5 (patch)
treed04befe33aa739786af67109c83a70c26ba9957c /src/services.js
parent31a196a76513df809ee91427129926370de551ba (diff)
downloadcommercel-ui-2ff20a6b93a92f0cac6b9f5584e81e39407e51c5.tar.gz
feat: display populated fields
Diffstat (limited to 'src/services.js')
-rw-r--r--src/services.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/services.js b/src/services.js
index b610aa9..b9c2ecf 100644
--- a/src/services.js
+++ b/src/services.js
@@ -37,8 +37,8 @@ const services: ServiceParams[] = [
nameSingular: 'Накладная',
tableFields: [
{ key: 'operation', label: 'Операция' },
- { key: 'productId', label: 'Товар' },
- { key: 'contractorId', label: 'Поставщик' },
+ { key: 'product.name', label: 'Товар' },
+ { key: 'contractor.name', label: 'Поставщик' },
{ key: 'status', label: 'Статус' },
{ key: 'quantity', label: 'Количество' },
],