Commit 23922c05 authored by Wahyu Adjie Prasetyo's avatar Wahyu Adjie Prasetyo
parents 01f9729e fc2317e2
......@@ -73,9 +73,9 @@ export default function App() {
} else if (data.action_type == 'WebView') {
} else if (data.action_type == 'Transfer Receive') {
RootNavigation.navigate('Transaction History');
} else if (data.action_type == 'Cashback') {
RootNavigation.navigate('Transaction History');
}
}
......
{
"expo": {
"extra" : {
"buildNumber" : "100",
"buildNumber" : "104",
"remarks": ""
},
......
......@@ -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