blob: ab8ab38737c3cced859b9aadefec19b89d7d5b69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import { ServiceParams } from '../../lib/ServiceContext';
import { transformDate } from '../transforms';
const service: ServiceParams = {
route: 'account',
name: 'Рассчётный счёт',
tableFields: [
{ key: 'date', label: 'Дата', transform: transformDate },
{ key: 'amount', label: 'Сумма' },
],
actions: [
{
name: 'Загрузить выписку',
route: '/transfers/upload',
},
],
rowLink: item => `/transfers?date=${item.date}`,
};
export default service;
|