Correction de quelques bugs

This commit is contained in:
Brice Zele 2022-05-09 22:45:18 +01:00
parent f1e42c4570
commit 4ece538416
5 changed files with 22 additions and 9 deletions

File diff suppressed because one or more lines are too long

View File

@ -756,5 +756,6 @@
"MONTANT_RESTANT": "Montant restant",
"LAST_PAYMENT": "Dernier paiement",
"AMOUNT_PER_SPLIT": "Montant par échéance",
"ETAT_ASSURANCE": "Etat assurance"
"ETAT_ASSURANCE": "Etat assurance",
"PRIME_BASE": "Prime de base"
}

View File

@ -281,6 +281,7 @@ const ActivateBuySubscriptionScreen = ({
{
text: I18n.t("OK"), onPress: () => {
dispatch(fetchActivePaySubscriptionReset());
setModalPaymentModal(false);
navigation.goBack();
}
}
@ -377,7 +378,7 @@ const ActivateBuySubscriptionScreen = ({
},
]}
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
style={{
@ -405,7 +406,7 @@ const ActivateBuySubscriptionScreen = ({
},
]}
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
style={{
@ -437,7 +438,7 @@ const ActivateBuySubscriptionScreen = ({
},
]}
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
style={{

View File

@ -324,6 +324,16 @@ const HistoriqueNanoSanteUserScreen = ({
</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={{flex: 1}}>
<Text style={[styles.body2]}>{I18n.t('STATE')}</Text>
@ -702,7 +712,7 @@ const HistoriqueNanoSanteUserScreen = ({
}}>
<View style={[styles.contentTop, {borderColor: Color.borderColor}]}>
<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}>
{`${I18n.t('STATE')}: ${item.state.toLowerCase()}`}
</Text>

View File

@ -756,5 +756,6 @@
"MONTANT_RESTANT": "Montant restant",
"LAST_PAYMENT": "Dernier paiement",
"AMOUNT_PER_SPLIT": "Montant par échéance",
"ETAT_ASSURANCE": "Etat assurance"
"ETAT_ASSURANCE": "Etat assurance",
"PRIME_BASE": "Prime de base"
}