Correction de quelques bugs
This commit is contained in:
parent
f1e42c4570
commit
4ece538416
File diff suppressed because one or more lines are too long
|
@ -756,5 +756,6 @@
|
||||||
"MONTANT_RESTANT": "Montant restant",
|
"MONTANT_RESTANT": "Montant restant",
|
||||||
"LAST_PAYMENT": "Dernier paiement",
|
"LAST_PAYMENT": "Dernier paiement",
|
||||||
"AMOUNT_PER_SPLIT": "Montant par échéance",
|
"AMOUNT_PER_SPLIT": "Montant par échéance",
|
||||||
"ETAT_ASSURANCE": "Etat assurance"
|
"ETAT_ASSURANCE": "Etat assurance",
|
||||||
|
"PRIME_BASE": "Prime de base"
|
||||||
}
|
}
|
||||||
|
|
|
@ -281,6 +281,7 @@ const ActivateBuySubscriptionScreen = ({
|
||||||
{
|
{
|
||||||
text: I18n.t("OK"), onPress: () => {
|
text: I18n.t("OK"), onPress: () => {
|
||||||
dispatch(fetchActivePaySubscriptionReset());
|
dispatch(fetchActivePaySubscriptionReset());
|
||||||
|
setModalPaymentModal(false);
|
||||||
navigation.goBack();
|
navigation.goBack();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -377,7 +378,7 @@ const ActivateBuySubscriptionScreen = ({
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
onPress={() => {
|
onPress={() => {
|
||||||
fetchActivePaySubscription(subscription.id, {password: values.password, amount: values.amount, payment_mthod: 'wallet'});
|
fetchActivePaySubscription(subscription.id, {password: values.password, amount: values.amount, payment_method: 'wallet'});
|
||||||
}}>
|
}}>
|
||||||
<View
|
<View
|
||||||
style={{
|
style={{
|
||||||
|
@ -405,7 +406,7 @@ const ActivateBuySubscriptionScreen = ({
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
onPress={() => {
|
onPress={() => {
|
||||||
fetchActivePaySubscription(subscription.id, {password: values.password, amount: values.amount, payment_mthod: 'card'});
|
fetchActivePaySubscription(subscription.id, {password: values.password, amount: values.amount, payment_method: 'card'});
|
||||||
}}>
|
}}>
|
||||||
<View
|
<View
|
||||||
style={{
|
style={{
|
||||||
|
@ -437,7 +438,7 @@ const ActivateBuySubscriptionScreen = ({
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
onPress={() => {
|
onPress={() => {
|
||||||
fetchActivePaySubscription(subscription.id, {password: values.password, amount: values.amount, payment_mthod: 'mobile_money'});
|
fetchActivePaySubscription(subscription.id, {password: values.password, amount: values.amount, payment_method: 'mobile_money'});
|
||||||
}}>
|
}}>
|
||||||
<View
|
<View
|
||||||
style={{
|
style={{
|
||||||
|
|
|
@ -324,6 +324,16 @@ const HistoriqueNanoSanteUserScreen = ({
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
|
<View style={{flexDirection: 'row', marginTop: 10}}>
|
||||||
|
<View style={{flex: 1}}>
|
||||||
|
<Text style={[styles.body2]}>{I18n.t('ACTE')}</Text>
|
||||||
|
</View>
|
||||||
|
<View style={{flex: 1, alignItems: 'flex-end'}}>
|
||||||
|
<Text
|
||||||
|
style={[Typography.caption1, Color.grayColor]}>{historyItemDetail.act_name}</Text>
|
||||||
|
</View>
|
||||||
|
</View>
|
||||||
|
|
||||||
<View style={{flexDirection: 'row', marginTop: 10}}>
|
<View style={{flexDirection: 'row', marginTop: 10}}>
|
||||||
<View style={{flex: 1}}>
|
<View style={{flex: 1}}>
|
||||||
<Text style={[styles.body2]}>{I18n.t('STATE')}</Text>
|
<Text style={[styles.body2]}>{I18n.t('STATE')}</Text>
|
||||||
|
@ -702,7 +712,7 @@ const HistoriqueNanoSanteUserScreen = ({
|
||||||
}}>
|
}}>
|
||||||
<View style={[styles.contentTop, {borderColor: Color.borderColor}]}>
|
<View style={[styles.contentTop, {borderColor: Color.borderColor}]}>
|
||||||
<View style={{flex: 1, alignItems: 'flex-start'}}>
|
<View style={{flex: 1, alignItems: 'flex-start'}}>
|
||||||
<Text caption1>{`${I18n.t('AMOUNT')}: ${item.bonus_amount}`}</Text>
|
<Text caption1>{`${I18n.t('PRIME_BASE')}: ${item.bonus_amount}`}</Text>
|
||||||
<Text footnote light numberOfLines={1}>
|
<Text footnote light numberOfLines={1}>
|
||||||
{`${I18n.t('STATE')}: ${item.state.toLowerCase()}`}
|
{`${I18n.t('STATE')}: ${item.state.toLowerCase()}`}
|
||||||
</Text>
|
</Text>
|
||||||
|
|
|
@ -756,5 +756,6 @@
|
||||||
"MONTANT_RESTANT": "Montant restant",
|
"MONTANT_RESTANT": "Montant restant",
|
||||||
"LAST_PAYMENT": "Dernier paiement",
|
"LAST_PAYMENT": "Dernier paiement",
|
||||||
"AMOUNT_PER_SPLIT": "Montant par échéance",
|
"AMOUNT_PER_SPLIT": "Montant par échéance",
|
||||||
"ETAT_ASSURANCE": "Etat assurance"
|
"ETAT_ASSURANCE": "Etat assurance",
|
||||||
|
"PRIME_BASE": "Prime de base"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue