fix: get transaction type
This commit is contained in:
parent
cdea24f10e
commit
e4f9341e5d
|
@ -110,7 +110,7 @@ export default class WalletComponent extends React.Component {
|
|||
const data = this.props.appstate.transaction.list;
|
||||
|
||||
const columns = [{
|
||||
title: 'Id',
|
||||
title: 'Transaction',
|
||||
dataIndex: 'id',
|
||||
key: 'id',
|
||||
className: 'recentOrder-noOrder',
|
||||
|
@ -129,8 +129,8 @@ export default class WalletComponent extends React.Component {
|
|||
},
|
||||
{
|
||||
title: 'Type',
|
||||
dataIndex: 'type',
|
||||
key: 'type',
|
||||
dataIndex: 'type.name',
|
||||
key: 'type.name',
|
||||
className: 'recentOrder-noOrder',
|
||||
render: (text) => <span>{text}</span>
|
||||
},
|
||||
|
@ -147,7 +147,7 @@ export default class WalletComponent extends React.Component {
|
|||
key: 'amount',
|
||||
className: 'recentOrder-customer bolder green',
|
||||
render: (text) => {
|
||||
return <span>
|
||||
return <span> Rp.
|
||||
<NumberFormat
|
||||
value={new DC(text).toNumber()} displayType={'text'}
|
||||
thousandSeparator={true}/>
|
||||
|
|
Loading…
Reference in New Issue
Block a user