summaryrefslogtreecommitdiff
path: root/src/services/contractors/index.ts
blob: c9e71a187a1c407416fea0109d3156df5439d985 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import Form from './ContractorForm';
import Panel from './ContractorPanel';
import { ServiceParams } from '../../containers/Service/ServiceContext';

const service: ServiceParams = {
  route: 'contractors',
  name: 'Контрагенты',
  nameSingular: 'Контрагент',
  tableFields: [
    { key: 'vatId', label: 'УНП' },
    { key: 'name', label: 'Название' },
    { key: 'debt', label: 'Долг' },
  ],
  default: {
    name: '',
    vatId: '',
    debt: 0,
  },
  Form,
  Panel,
};

export default service;