Commit fc2317e2 authored by Trisno's avatar Trisno

trans cashback

parent ff3feb17
......@@ -71,6 +71,7 @@ class TransactionHistory extends React.Component {
history_list: data,
indicator: false
})
console.log('ini res history' + JSON.stringify(this.state.history_list))
}).catch(error => {
let response = error.response.data;
......@@ -157,7 +158,7 @@ class TransactionHistory extends React.Component {
</View>
<View style={{ flex: 0.9, justifyContent: 'center', alignItems: 'center', margin: 10, marginLeft: 15, borderLeftWidth: 1, borderColor: '#838383' }}>
<View>
<NumberFormat decimalScale={0} value={i.point_add} renderText={value => <Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', color: '#CFB368' }}>Rp. {value}</Text>} displayType={'text'} thousandSeparator={true} prefix={''} />
<NumberFormat decimalScale={0} value={i.kaspro_point_add} renderText={value => <Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', color: '#CFB368' }}>Rp. {value}</Text>} displayType={'text'} thousandSeparator={true} prefix={''} />
</View>
</View>
</View>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment