historique OK
This commit is contained in:
parent
458614e235
commit
5c15bcb421
File diff suppressed because one or more lines are too long
|
@ -1574,7 +1574,7 @@ class Home extends BaseScreen {
|
||||||
translucent={true}
|
translucent={true}
|
||||||
/>
|
/>
|
||||||
{/* Start here to comment */}
|
{/* Start here to comment */}
|
||||||
{/* {
|
{
|
||||||
(this.state.loadingDialog || this.props.loading) ?
|
(this.state.loadingDialog || this.props.loading) ?
|
||||||
<View
|
<View
|
||||||
style={{ position: "absolute", zIndex: 1, backgroundColor: "#00000050", width: this.state.loadingDialog ? responsiveWidth(100) : 0, height: this.state.loadingDialog ? responsiveHeight(100) : 0, flex: 1, justifyContent: 'center', alignItems: 'center' }}
|
style={{ position: "absolute", zIndex: 1, backgroundColor: "#00000050", width: this.state.loadingDialog ? responsiveWidth(100) : 0, height: this.state.loadingDialog ? responsiveHeight(100) : 0, flex: 1, justifyContent: 'center', alignItems: 'center' }}
|
||||||
|
@ -1610,7 +1610,7 @@ class Home extends BaseScreen {
|
||||||
this.setState({ showProgress: false })
|
this.setState({ showProgress: false })
|
||||||
Alert.alert(I18n.t("PROBLEM_OCCUR"), I18n.t("PROBLEM_OCCUR_DIRECTION"), [{ text: "Ok", onPress: () => { } }])
|
Alert.alert(I18n.t("PROBLEM_OCCUR"), I18n.t("PROBLEM_OCCUR_DIRECTION"), [{ text: "Ok", onPress: () => { } }])
|
||||||
}}
|
}}
|
||||||
/> */}
|
/>
|
||||||
{this.makeCardSearch()}
|
{this.makeCardSearch()}
|
||||||
{this.makeSlidingUp()}
|
{this.makeSlidingUp()}
|
||||||
{this.makeDialogLoader()}
|
{this.makeDialogLoader()}
|
||||||
|
|
|
@ -758,7 +758,7 @@ class WalletOptionSelect extends Component {
|
||||||
<Text tyle={[Typography.body2]}>{I18n.t('WITHDRAWAL_IN_CASH')}</Text>
|
<Text tyle={[Typography.body2]}>{I18n.t('WITHDRAWAL_IN_CASH')}</Text>
|
||||||
</View>
|
</View>
|
||||||
<View style={{ flex: 1, alignItems: 'flex-end' }}>
|
<View style={{ flex: 1, alignItems: 'flex-end' }}>
|
||||||
<Text style={[Typography.caption1, Color.grayColor]}>{this.state.historyItemDetail.retrait_cash + ' ' + this.state.wallet.currency_code}</Text>
|
<Text style={[Typography.caption1, Color.grayColor]}>{this.state.historyItemDetail.retrait_cash == 1 ? I18n.t('YES') : I18n.t('NO')}</Text>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
<View style={{ flexDirection: 'row', marginTop: 10 }}>
|
<View style={{ flexDirection: 'row', marginTop: 10 }}>
|
||||||
|
|
|
@ -459,6 +459,7 @@ class EnvoiCashVersCashAgent extends Component {
|
||||||
|
|
||||||
}
|
}
|
||||||
this.setState({
|
this.setState({
|
||||||
|
isDataSubmit: false,
|
||||||
triggerSubmitClick: true
|
triggerSubmitClick: true
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -556,7 +557,7 @@ class EnvoiCashVersCashAgent extends Component {
|
||||||
useNativeDriver={true}
|
useNativeDriver={true}
|
||||||
value={this.state.identityPiecesNameEmetteur}
|
value={this.state.identityPiecesNameEmetteur}
|
||||||
onChangeText={(value, index, data) => {
|
onChangeText={(value, index, data) => {
|
||||||
this.setState({ identityPiecesNameEmetteur: value });
|
this.setState({ identityPiecesNameEmetteur: value, isDataSubmit: false });
|
||||||
}}
|
}}
|
||||||
valueExtractor={(value) => { return value.name }}
|
valueExtractor={(value) => { return value.name }}
|
||||||
labelExtractor={(value) => { return value.name }}
|
labelExtractor={(value) => { return value.name }}
|
||||||
|
@ -616,7 +617,7 @@ class EnvoiCashVersCashAgent extends Component {
|
||||||
|
|
||||||
<Animatable.View ref={(comp) => { this.identityPiecesDestinataireAnim = comp }}>
|
<Animatable.View ref={(comp) => { this.identityPiecesDestinataireAnim = comp }}>
|
||||||
<Fumi iconClass={FontAwesomeIcon} iconName={'user-circle-o'}
|
<Fumi iconClass={FontAwesomeIcon} iconName={'user-circle-o'}
|
||||||
label={`${I18n.t('ID_DESTINATAIRE')}`}
|
label={`${I18n.t('NUMERO_IDENTITE')}`}
|
||||||
iconColor={'#f95a25'}
|
iconColor={'#f95a25'}
|
||||||
iconSize={20}
|
iconSize={20}
|
||||||
value={this.state.numeroIdentiteDestinataire}
|
value={this.state.numeroIdentiteDestinataire}
|
||||||
|
@ -648,7 +649,7 @@ class EnvoiCashVersCashAgent extends Component {
|
||||||
this.props.getPayCountryNetworkReset();
|
this.props.getPayCountryNetworkReset();
|
||||||
|
|
||||||
let countrySelect = data.filter(element => element.name === value);
|
let countrySelect = data.filter(element => element.name === value);
|
||||||
this.setState({ paysDestinationSelect: value, hasLoadActivePayCountryNetworkList: true }, () => {
|
this.setState({ paysDestinationSelect: value, hasLoadActivePayCountryNetworkList: true, isDataSubmit: false }, () => {
|
||||||
this.props.getPayCountryNetworkAction({ id_wallet_agent: this.state.wallet.id, id_country: countrySelect[0].id });
|
this.props.getPayCountryNetworkAction({ id_wallet_agent: this.state.wallet.id, id_country: countrySelect[0].id });
|
||||||
});
|
});
|
||||||
this.props.getCommissionUserWalletToCashReset();
|
this.props.getCommissionUserWalletToCashReset();
|
||||||
|
@ -677,6 +678,7 @@ class EnvoiCashVersCashAgent extends Component {
|
||||||
onChangeText={(value, index, data) => {
|
onChangeText={(value, index, data) => {
|
||||||
this.setState({
|
this.setState({
|
||||||
walletActifSelect: value,
|
walletActifSelect: value,
|
||||||
|
isDataSubmit: false
|
||||||
});
|
});
|
||||||
|
|
||||||
}}
|
}}
|
||||||
|
|
|
@ -459,7 +459,8 @@ class EnvoieCashVersAutreWalletAgent extends Component {
|
||||||
|
|
||||||
}
|
}
|
||||||
this.setState({
|
this.setState({
|
||||||
triggerSubmitClick: true
|
triggerSubmitClick: true,
|
||||||
|
isDataSubmit: false
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -556,7 +557,7 @@ class EnvoieCashVersAutreWalletAgent extends Component {
|
||||||
useNativeDriver={true}
|
useNativeDriver={true}
|
||||||
value={this.state.identityPiecesNameEmetteur}
|
value={this.state.identityPiecesNameEmetteur}
|
||||||
onChangeText={(value, index, data) => {
|
onChangeText={(value, index, data) => {
|
||||||
this.setState({ identityPiecesNameEmetteur: value });
|
this.setState({ identityPiecesNameEmetteur: value, isDataSubmit: false });
|
||||||
}}
|
}}
|
||||||
valueExtractor={(value) => { return value.name }}
|
valueExtractor={(value) => { return value.name }}
|
||||||
labelExtractor={(value) => { return value.name }}
|
labelExtractor={(value) => { return value.name }}
|
||||||
|
@ -648,7 +649,7 @@ class EnvoieCashVersAutreWalletAgent extends Component {
|
||||||
this.props.getPayCountryNetworkReset();
|
this.props.getPayCountryNetworkReset();
|
||||||
|
|
||||||
let countrySelect = data.filter(element => element.name === value);
|
let countrySelect = data.filter(element => element.name === value);
|
||||||
this.setState({ paysDestinationSelect: value, hasLoadActivePayCountryNetworkList: true }, () => {
|
this.setState({ paysDestinationSelect: value, hasLoadActivePayCountryNetworkList: true, isDataSubmit: false }, () => {
|
||||||
this.props.getOtherPayCountryNetworkAction({ id_wallet_agent: this.state.wallet.id, id_country: countrySelect[0].id });
|
this.props.getOtherPayCountryNetworkAction({ id_wallet_agent: this.state.wallet.id, id_country: countrySelect[0].id });
|
||||||
});
|
});
|
||||||
this.props.getCommissionUserWalletToCashReset();
|
this.props.getCommissionUserWalletToCashReset();
|
||||||
|
@ -676,7 +677,8 @@ class EnvoieCashVersAutreWalletAgent extends Component {
|
||||||
value={isNil(this.state.walletActifSelect) ? '' : this.state.walletActifSelect}
|
value={isNil(this.state.walletActifSelect) ? '' : this.state.walletActifSelect}
|
||||||
onChangeText={(value, index, data) => {
|
onChangeText={(value, index, data) => {
|
||||||
this.setState({
|
this.setState({
|
||||||
walletActifSelect: value,
|
isDataSubmit: false,
|
||||||
|
walletActifSelect: value
|
||||||
});
|
});
|
||||||
|
|
||||||
}}
|
}}
|
||||||
|
|
Loading…
Reference in New Issue