diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/services/account/index.ts | 20 | ||||
-rw-r--r-- | src/services/index.ts | 2 |
2 files changed, 0 insertions, 22 deletions
diff --git a/src/services/account/index.ts b/src/services/account/index.ts deleted file mode 100644 index d2a91bd..0000000 --- a/src/services/account/index.ts +++ /dev/null @@ -1,20 +0,0 @@ -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; diff --git a/src/services/index.ts b/src/services/index.ts index ade29df..2b0b17b 100644 --- a/src/services/index.ts +++ b/src/services/index.ts @@ -2,7 +2,6 @@ import contractors from './contractors'; import waybills from './waybills'; import transfers from './transfers'; import products from './products'; -import account from './account'; import { registerServiceHooks } from '../hooks/useAPIClient'; const services = [ @@ -10,7 +9,6 @@ const services = [ products, waybills, transfers, - account, ]; services.forEach(service => registerServiceHooks(service.route)); |