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

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

export default service;