//@ts-nocheck import Label from 'client/Elements/Label'; import { formatMoney } from 'core/tools/format'; import { pipe } from 'core/tools/func'; import { round } from 'core/tools/num'; import { Column, Table } from '../../types/tables'; const columns: Column[] = [ { name: 'paymentSum', title: 'Сумма платежа', Component: Label, props: { middleware: value => pipe(round, formatMoney)(value), }, }, { name: 'ndsCompensation', title: 'НДС к возмещению', Component: Label, props: { middleware: value => pipe(round, formatMoney)(value), }, }, { name: 'redemptionAmount', title: 'Сумма досрочного выкупа', Component: Label, props: { middleware: value => pipe(round, formatMoney)(value), }, }, ]; const params: Table['params'] = { features: { numerize: true, }, }; export default { columns, rows: [], params, } as Table;