Commit a3066646 authored by Trisno's avatar Trisno

benerin rating order

parent 383e6a83
......@@ -328,9 +328,9 @@ class OrderDetail extends React.Component {
</TouchableOpacity>) : (null)
}
{/* {
{
this.state.trans_status == 4 ? (
<TouchableOpacity style={{ justifyContent: 'center' }} onPress={() => this.props.navigation.navigate('RatingOrder', { idTrans: item.id })}>
<TouchableOpacity style={{ justifyContent: 'center' }} onPress={() => this.props.navigation.navigate('RatingOrder', { idTrans: this.state.detail_trans.id })}>
<View style={{ height: 40, borderRadius: 10, backgroundColor: '#CFB368', justifyContent: 'center', marginRight: 20, marginLeft: 20, marginTop: 50 }}>
<Text style={{ fontFamily: 'Gotham-Black', color: 'white', fontSize: 16, textAlign: 'center', paddingHorizontal: 5 }}>Rating Order</Text>
</View>
......@@ -338,7 +338,7 @@ class OrderDetail extends React.Component {
) : (
null
)
} */}
}
<View style={{ marginVertical: 20 }} />
......
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