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 '../../lib/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;
|