Agency banking wallet button
This commit is contained in:
parent
d118e520d5
commit
78f21b52f4
|
@ -275,7 +275,7 @@ export default class OptionsMenu extends Component {
|
|||
|| item === 'addBeneficiaryScreen' || item === 'activateBuySubscriptionScreen' || item === 'saisirFeuilleSoinScreen' || item === 'validateConsultationScreen' || item === 'validateConsultationDetailScreen'
|
||||
|| item === 'executerPrescriptionScreen' || item === 'modifierFeuilleSoinScreen' || item === 'modifierExecutionPrescriptionScreen' || item === 'historiqueNanoSanteUserScreen'
|
||||
|| item === 'demandeAutorisationSoinScreen' || item === 'deleteBeneficiaryScreen' || item === 'StopSubscriptionScreen' || item === 'stopSubscriptionScreen' || item === 'renewAssuranceScreen'
|
||||
|| item === 'webviewScreen' || item === 'historiqueNanoSanteAgentScreen' || item === 'historiqueNanoSanteSuperHyperScreen' || item === 'PDFViewerScreen') {
|
||||
|| item === 'webviewScreen' || item === 'historiqueNanoSanteAgentScreen' || item === 'historiqueNanoSanteSuperHyperScreen' || item === 'PDFViewerScreen' || item === 'ubaFormScreen') {
|
||||
return null
|
||||
} else {
|
||||
const color = this.state.currentId === item.id ? theme.accent : "grey"
|
||||
|
@ -498,9 +498,6 @@ export default class OptionsMenu extends Component {
|
|||
case 'about':
|
||||
icon = I18n.t('ABOUT')
|
||||
break
|
||||
case 'ubaFormScreen':
|
||||
icon = 'Enregistrement UBA'
|
||||
break
|
||||
}
|
||||
return icon;
|
||||
}
|
||||
|
|
|
@ -759,6 +759,44 @@ class WalletDetailUser extends Component {
|
|||
</TouchableOpacity>
|
||||
</View>
|
||||
</View>
|
||||
|
||||
<View style={styles.transactionContainer}>
|
||||
|
||||
<View style={[styles.containerTouch]}>
|
||||
|
||||
<TouchableOpacity style={styles.contain}
|
||||
onPress={() => {
|
||||
|
||||
this.props.navigation.push('ubaFormScreen');
|
||||
}} activeOpacity={0.9}>
|
||||
|
||||
<Icon name='bank'
|
||||
color={Color.primaryColor}
|
||||
size={30}
|
||||
style={styles.imageBanner}/>
|
||||
|
||||
<View style={[styles.content]}>
|
||||
|
||||
<View style={styles.contentTitle}>
|
||||
<Text style={[Typography.headline, Typography.semibold]}>
|
||||
Agency Banking
|
||||
</Text>
|
||||
</View>
|
||||
|
||||
<View style={{flex: 1}}>
|
||||
<Text
|
||||
style={[Typography.overline, Color.grayColor], {paddingVertical: 5}}
|
||||
numberOfLines={5}>
|
||||
</Text>
|
||||
</View>
|
||||
|
||||
</View>
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
|
||||
|
||||
<View style={{flex: 1}} />
|
||||
</View>
|
||||
</>
|
||||
|
||||
{this.renderHistoryTransaction(wallet)}
|
||||
|
|
Loading…
Reference in New Issue