85 lines
1.9 KiB
TypeScript
85 lines
1.9 KiB
TypeScript
/* eslint-disable canonical/sort-keys */
|
|
import type { ResultPayment } from '@/stores/results/types';
|
|
import type { ColumnsType } from 'antd/lib/table';
|
|
|
|
export const columns: ColumnsType<ResultPayment> = [
|
|
{
|
|
key: 'num',
|
|
dataIndex: 'num',
|
|
title: '#',
|
|
width: '10%',
|
|
},
|
|
{
|
|
key: 'paymentSum',
|
|
dataIndex: 'paymentSum',
|
|
title: 'Сумма платежа',
|
|
render: Intl.NumberFormat('ru', {
|
|
style: 'currency',
|
|
currency: 'RUB',
|
|
}).format,
|
|
},
|
|
{
|
|
key: 'ndsCompensation',
|
|
dataIndex: 'ndsCompensation',
|
|
title: 'НДС к возмещению',
|
|
render: Intl.NumberFormat('ru', {
|
|
style: 'currency',
|
|
currency: 'RUB',
|
|
}).format,
|
|
},
|
|
{
|
|
key: 'redemptionAmount',
|
|
dataIndex: 'redemptionAmount',
|
|
title: 'Сумма досрочного выкупа',
|
|
render: Intl.NumberFormat('ru', {
|
|
style: 'currency',
|
|
currency: 'RUB',
|
|
}).format,
|
|
},
|
|
{
|
|
key: 'piColumn',
|
|
dataIndex: 'piColumn',
|
|
title: 'PIColumn',
|
|
render: Intl.NumberFormat('ru', {
|
|
style: 'currency',
|
|
currency: 'RUB',
|
|
}).format,
|
|
},
|
|
{
|
|
key: 'cashflowMsfoWithCfColumn',
|
|
dataIndex: 'cashflowMsfoWithCfColumn',
|
|
title: 'CashflowMSFOWithCF',
|
|
render: Intl.NumberFormat('ru', {
|
|
style: 'currency',
|
|
currency: 'RUB',
|
|
}).format,
|
|
},
|
|
{
|
|
key: 'creditPaymentColumn',
|
|
dataIndex: 'creditPaymentColumn',
|
|
title: 'CreditPayment',
|
|
render: Intl.NumberFormat('ru', {
|
|
style: 'currency',
|
|
currency: 'RUB',
|
|
}).format,
|
|
},
|
|
{
|
|
key: 'cashflowMsfoColumn',
|
|
dataIndex: 'cashflowMsfoColumn',
|
|
title: 'CashflowMSFO',
|
|
render: Intl.NumberFormat('ru', {
|
|
style: 'currency',
|
|
currency: 'RUB',
|
|
}).format,
|
|
},
|
|
{
|
|
key: 'interestColumn',
|
|
dataIndex: 'interestColumn',
|
|
title: 'Interest',
|
|
render: Intl.NumberFormat('ru', {
|
|
style: 'currency',
|
|
currency: 'RUB',
|
|
}).format,
|
|
},
|
|
];
|