diff options
Diffstat (limited to 'src/services')
-rw-r--r-- | src/services/transfers/index.ts | 1 | ||||
-rw-r--r-- | src/services/waybills/index.ts | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/services/transfers/index.ts b/src/services/transfers/index.ts index b0f71e6..84858ce 100644 --- a/src/services/transfers/index.ts +++ b/src/services/transfers/index.ts @@ -16,6 +16,7 @@ const service: ServiceParams<Transfer> = { { key: 'amount', label: 'Сумма' }, ], filters: [ + { key: 'date', label: 'Дата', date: true }, { key: 'operation', label: 'Операция', transform: transformOperation }, { key: 'contractorId', label: 'Контрагент', as: 'contractor.name' }, ], diff --git a/src/services/waybills/index.ts b/src/services/waybills/index.ts index 0b24876..b623da6 100644 --- a/src/services/waybills/index.ts +++ b/src/services/waybills/index.ts @@ -10,11 +10,13 @@ const service: ServiceParams<Waybill> = { nameSingular: 'Накладная', tableFields: [ { key: 'status', label: 'Статус', transform: transformStatus }, + { key: 'date', label: 'Дата' }, { key: 'operation', label: 'Операция', transform: transformOperation }, { key: 'total', label: 'Сумма' }, { key: 'contractor.name', label: 'Контрагент' }, ], filters: [ + { key: 'date', label: 'Дата', date: true }, { key: 'status', label: 'Статус', transform: transformStatus }, { key: 'operation', label: 'Операция', transform: transformOperation }, { key: 'contractorId', label: 'Контрагент', as: 'contractor.name' }, |