summaryrefslogtreecommitdiff
path: root/src/services/account/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/services/account/index.ts')
-rw-r--r--src/services/account/index.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/services/account/index.ts b/src/services/account/index.ts
index cbe56f5..ab8ab38 100644
--- a/src/services/account/index.ts
+++ b/src/services/account/index.ts
@@ -1,10 +1,11 @@
import { ServiceParams } from '../../lib/ServiceContext';
+import { transformDate } from '../transforms';
const service: ServiceParams = {
route: 'account',
name: 'Рассчётный счёт',
tableFields: [
- { key: 'date', label: 'Дата', transform: date => new Date(date).toLocaleDateString() },
+ { key: 'date', label: 'Дата', transform: transformDate },
{ key: 'amount', label: 'Сумма' },
],
actions: [