Correction de bugs Historique de paiement

This commit is contained in:
Brice Zele 2022-05-11 11:17:15 +01:00
parent 9c7161d08b
commit ee37cb177b
3 changed files with 6 additions and 6 deletions

View File

@ -1506,6 +1506,7 @@ const SaisirFeuilleSoinScreen = ({
}]);
} else {
setAssure(item);
setPhoto(item.user.identification.user_image);
setBeneficiary(null);
setStatutPatient(1);
setModalListAssure(false);
@ -1544,6 +1545,7 @@ const SaisirFeuilleSoinScreen = ({
} else {
setAssure(item);
setBeneficiary(beneficiary);
setPhoto(beneficiary.profile_image);
setStatutPatient(0);
setModalListAssure(false);
setFieldValue(
@ -1714,7 +1716,6 @@ const SaisirFeuilleSoinScreen = ({
}
},
});
const onNext = () => {
console.log("currentStep", currentStep);
switch (currentStep) {
@ -1818,7 +1819,7 @@ const SaisirFeuilleSoinScreen = ({
<View>
<View style={{alignItems: 'center'}}>
<Image source={photo === null ? require('./../../../datas/img/users/man.png') : {uri: photo}}
style={{width: 92, height: 92}}/>
style={{width: 150, height: 150, borderRadius: 75}}/>
</View>
<TextInput
style={{marginTop: 10}}

View File

@ -214,14 +214,13 @@ const HistoriqueNanoSanteUserScreen = ({
return moment(re).fromNow();
}
const renderPaymentDetail = () => (
<ScrollView style={{flex: 1}}>
<View style={[styles.containModal, {backgroundColor: Color.containerBackgroundColor}]}>
<Modal
isVisible={modalPaymentDetail}
onSwipeComplete={() => {
setModalPaymentDetail(false);
}}
swipeDirection={['down']}
swipeDirection={null}
style={styles.bottomModal}>
<View
style={[
@ -266,7 +265,6 @@ const HistoriqueNanoSanteUserScreen = ({
</View>
</Modal>
</View>
</ScrollView>
)
const renderModalHistoryDetail = () => (
@ -1165,6 +1163,7 @@ const styles = StyleSheet.create({
},
contentFilterBottom: {
width: "100%",
maxHeight: '90%',
borderTopLeftRadius: 8,
borderTopRightRadius: 8,
paddingHorizontal: 20

View File

@ -755,7 +755,7 @@
"NEXT_ECHEANCE": "Prochaine échéance",
"MONTANT_RESTANT": "Montant restant",
"LAST_PAYMENT": "Dernier paiement",
"AMOUNT_PER_SPLIT": "Montant par échéance",
"AMOUNT_PER_SPLIT": "Montant min. par échéance",
"ETAT_ASSURANCE": "Etat assurance",
"PRIME_BASE": "Prime de base",
"PAYMENTS": "Paiements",