From d1b4021c1993ecfb756f3bc378c9d5a206b86ab5 Mon Sep 17 00:00:00 2001 From: Don Wilfried Date: Fri, 28 Mar 2025 14:04:43 +0100 Subject: [PATCH] Fixing IGS problem --- .../app/src/main/res/raw/utils_i18n_en.json | 2 +- .../app/src/main/res/raw/utils_i18n_fr.json | 22 +- app/screens/login/CreateUserStep.js | 355 ++++++++++++++++-- app/screens/login/ForgottenPassword.js | 3 + app/utils/i18n/en.json | 2 +- app/utils/i18n/fr.json | 26 +- .../regisseur/WalletRegisseurApi.js | 2 +- 7 files changed, 348 insertions(+), 64 deletions(-) diff --git a/android/app/src/main/res/raw/utils_i18n_en.json b/android/app/src/main/res/raw/utils_i18n_en.json index 72bb0ba..1a9ca1e 100644 --- a/android/app/src/main/res/raw/utils_i18n_en.json +++ b/android/app/src/main/res/raw/utils_i18n_en.json @@ -593,7 +593,7 @@ "MODIFICATION_ORDRE_RECETTE": "Modify recipe order", "SAISIE_NUMERO_QUITANCE": "Enter receipt number", "MODIFICATION_NUMERO_QUITANCE": "Modify receipt number", - "SAISIR_QUITANCE": "Enter receipt", + "SAISIR_QUITANCE": "Making a payment", "CODE_AGENT": "Agent code ", "AVIS_IMPOSITION": "Tax notice", "AGENT_INFORMATION": "Agent Information", diff --git a/android/app/src/main/res/raw/utils_i18n_fr.json b/android/app/src/main/res/raw/utils_i18n_fr.json index 317eb77..ebd857d 100644 --- a/android/app/src/main/res/raw/utils_i18n_fr.json +++ b/android/app/src/main/res/raw/utils_i18n_fr.json @@ -1,5 +1,5 @@ { - "WELCOME": "Bienvenue sur iLink City !", + "WELCOME": "Bienvenue sur Sim_ba mobile !", "WAITING_LONG": "Veuillez patienter un instant", "HELP": "Aide", "SIMPLE_USER": "Utilisateur simple", @@ -248,7 +248,7 @@ "HISTORY": "Historique", "WITHDRAWAL_TRANSACTION_HISTORY_DESCRIPTION": "Retrait de", "DEPOSIT_TRANSACTION_HISTORY_DESCRIPTION": "Dépôt de", - "NO_WALLET_HISTORY": "Aucune transaction à ce jour", + "NO_WALLET_HISTORY": "Aucun historique", "DEMAND_SEND": "Demande envoyé", "EPARGNE_DEPOSE": "Epargne déposée", "BREAK_EPARGNE_DONE": "Epargne cassée avec succès", @@ -384,7 +384,7 @@ "OK": "OK", "SIMPLE": "Simple", "BLOCKED": "Bloqué", - "APP_FULLNAME": "Ilink City", + "APP_FULLNAME": "Sim_ba mobile", "GUIDE_TITLE": "Bienvenue dans le Guide de", "GUIDE_USER_SIMPLE": "Guide pour un utilisateur", "GUIDE_AGENT": "Guide pour un agent", @@ -543,8 +543,8 @@ "MEMBERSHIP_REQUEST": "Demandes d'adhésion", "HISTORY_TYPE_REQUEST": "Requêtes", "TREAT": "Traité", - "EXIT_TITLE": "Fermer iLink City !", - "EXIT_DESC": "Voulez-vous vraiment fermer iLink City ?", + "EXIT_TITLE": "Fermer Sim_ba mobile !", + "EXIT_DESC": "Voulez-vous vraiment fermer Sim_ba mobile ?", "NO_TREAT": "Non traité", "EXIT": "Fermer", "PERIOD": "Période", @@ -557,7 +557,7 @@ "ACCOUNT_ACTIVATE_TEXT": "Votre compte a été activé avec succès !", "HISTORY_END": "Fin", "DONT_VALIDATE_ACCOUNT": "Compte non validé", - "CONNEXION_SUCCESSFULL_TEXT": "Connexion réussie. Bienvenue dans iLink City ! ", + "CONNEXION_SUCCESSFULL_TEXT": "Connexion réussie. Bienvenue dans Sim_ba mobile ! ", "UNVALIDATE_ACCOUNT_TEXT": "Votre hyperviseur n'a pas encore validé votre compte", "TEXT_NEED_POSITION": "Veuillez mettre à jour votre position !", "TITLE_NEED_POSITION": "Votre position doit être mise à jour", @@ -570,12 +570,12 @@ "TITLE_PROBLE_COME": "Un problème a été rencontré", "TITLE_SUPPRESS_CONFIRM": "Confirmation de suppression", "TEXT_SUPPRESS_CONFIRM": "Voulez vous vraiment supprimer cet utilisateur ?", - "TEXT_ERROR_START_APPLICATION": "Une erreur est survenue au démarrage de iLink City. Veuillez relancer iLink City", - "TEXT_UNABLE_TO_GET_YOUR_POSITION": "Impossible de recupérez votre position. Veuillez verifier que votre GPS est activé et relancez iLink City", + "TEXT_ERROR_START_APPLICATION": "Une erreur est survenue au démarrage de Sim_ba mobile. Veuillez relancer Sim_ba mobile", + "TEXT_UNABLE_TO_GET_YOUR_POSITION": "Impossible de recupérez votre position. Veuillez verifier que votre GPS est activé et relancez Sim_ba mobile", "RESTART": "RECOMMENCER", "TEXT_UNABLE_TO_GET_COUNTRY_INFO": "Impossible de recupérer les informations de votre pays. Verifiez votre connexion internet ! cliquez sur \"Ok\" pour reessayer", "TITLE_UNABLE_TO_AUTORISE": "Echec de l'autorisation", - "MISSING_AUTORISATION_LOCATION": "iLink City n'est pas autorisé à acceder à votre position. Veuillez autoriser iLink City à accéder à votre localisation et relancez iLink City", + "MISSING_AUTORISATION_LOCATION": "Sim_ba mobile n'est pas autorisé à acceder à votre position. Veuillez autoriser Sim_ba mobile à accéder à votre localisation et relancez Sim_ba mobile", "TEXT_FORGOTTEN_PASSWORD": "Saisissez votre identifiant,nous vous enverrons un nouveau mot de passe\n", "TEXT_NETWORK_UNABLE": "Réseau non disponible, voulez vous réessayer ?", "LOADING_TEXT_MARKERS": "Suite des points ", @@ -584,7 +584,7 @@ "LAUNCH_POINT_WITH_FILTER": "Voulez-vous relancer la recherche dans un rayon de ", "LOADING_TEXT_MARKERS_2": "autour", "UNABLE_GET_INFORMATION": "Problème de récuperation des Informations", - "UNABLE_GET_INFORMATION_TEXT": "Vérifiez que votre GPS est activé et mis en mode haute precision et relancez iLink City", + "UNABLE_GET_INFORMATION_TEXT": "Vérifiez que votre GPS est activé et mis en mode haute precision et relancez Sim_ba mobile", "TITLE_HELP_SOON": "Aide non disponible !", "YOUR_NETWORK": "Sélectionner votre réseau", "YOUR_NETWORK_SELECTED": "Votre réseau", @@ -600,7 +600,7 @@ "MODIFICATION_ORDRE_RECETTE": "Modifier ordre recette", "SAISIE_NUMERO_QUITANCE": "Saisir numéro quitance", "MODIFICATION_NUMERO_QUITANCE": "Modifier numéro quitance", - "SAISIR_QUITANCE": "Saisir quitance", + "SAISIR_QUITANCE": "Effectuer un paiement", "CODE_AGENT": "Code agent ", "AVIS_IMPOSITION": "Déclaration", "AGENT_INFORMATION": "Informations sur l'agent", diff --git a/app/screens/login/CreateUserStep.js b/app/screens/login/CreateUserStep.js index 51b65e0..d9c26ef 100644 --- a/app/screens/login/CreateUserStep.js +++ b/app/screens/login/CreateUserStep.js @@ -1,4 +1,10 @@ -import React, {Component} from 'react'; +import CheckBox from '@react-native-community/checkbox'; +import Button from 'apsl-react-native-button'; +import axios from "axios"; +import _ from "lodash"; +import isNil from 'lodash/isNil'; +import DateTimePicker from "@react-native-community/datetimepicker" +import React, { Component } from 'react'; import { Alert, BackHandler, @@ -13,35 +19,30 @@ import { TouchableOpacity, View } from 'react-native'; -import CheckBox from '@react-native-community/checkbox'; -import FontAwesomeIcon from 'react-native-vector-icons/FontAwesome'; -import {responsiveHeight, responsiveWidth} from 'react-native-responsive-dimensions'; -import {Fumi} from 'react-native-textinput-effects' import * as Animatable from 'react-native-animatable'; -import Button from 'apsl-react-native-button'; -import MapView, {Marker} from 'react-native-maps'; -import {Dropdown} from 'react-native-material-dropdown-v2'; -import isNil from 'lodash/isNil'; -import {getPositionInformation} from './../../webservice/MapService'; -import I18n from 'react-native-i18n' -import {material} from 'react-native-typography'; -import Icon from 'react-native-vector-icons/MaterialCommunityIcons'; -import {createGeolocatedAccount} from './../../webservice/AuthApi'; -import {MaterialDialog} from "react-native-material-dialog"; -import Geolocation from 'react-native-geolocation-service'; -import ImagePicker from 'react-native-image-crop-picker'; -import {Color} from "../../config/Color"; -import {FontWeight, Typography} from "../../config/typography"; import Dialog from "react-native-dialog"; -import axios from "axios"; -import {actifToSave, supervisorCode, uploadImage, usagerToSave} from "../../webservice/IlinkConstants"; -import {ProgressDialog} from "react-native-simple-dialogs"; -import _ from "lodash"; -import {connect} from "react-redux"; -import {saveActifSocietyAction, saveActifSocietyReset} from "../../webservice/regisseur/WalletRegisseurApi"; -import {bindActionCreators} from "redux"; +import Geolocation from 'react-native-geolocation-service'; +import I18n from 'react-native-i18n'; +import ImagePicker from 'react-native-image-crop-picker'; +import MapView, { Marker } from 'react-native-maps'; +import { MaterialDialog } from "react-native-material-dialog"; +import { Dropdown } from 'react-native-material-dropdown-v2'; import OneSignal from "react-native-onesignal"; -import {getData, storeData} from "../../webservice/persistences/StorageService"; +import { responsiveHeight, responsiveWidth } from 'react-native-responsive-dimensions'; +import { ProgressDialog } from "react-native-simple-dialogs"; +import { Fumi } from 'react-native-textinput-effects'; +import { material } from 'react-native-typography'; +import FontAwesomeIcon from 'react-native-vector-icons/FontAwesome'; +import Icon from 'react-native-vector-icons/MaterialCommunityIcons'; +import { connect } from "react-redux"; +import { bindActionCreators } from "redux"; +import { Color } from "../../config/Color"; +import { FontWeight, Typography } from "../../config/typography"; +import { actifToSave, supervisorCode, uploadImage, usagerToSave } from "../../webservice/IlinkConstants"; +import { getData, storeData } from "../../webservice/persistences/StorageService"; +import { saveActifSocietyAction, saveActifSocietyReset } from "../../webservice/regisseur/WalletRegisseurApi"; +import { createGeolocatedAccount } from './../../webservice/AuthApi'; +import { getPositionInformation } from './../../webservice/MapService'; import FilteredList from './FilteredList '; const GEOLOCATION_OPTIONS = {enableHighAccuracy: true, timeout: 20000, maximumAge: 1000, useSignificantChanges: true}; @@ -137,6 +138,7 @@ class CreateUserStep extends Component { id_patente: null, TVA: false, IRPP: false, + licence: false, activity_type: null, year_tax_paid_N: false, year_tax_paid_N_1: false, @@ -160,7 +162,19 @@ class CreateUserStep extends Component { publicites_taxes: null, messageRequiredImage: "", selectedTax: null, - + accountType:"", + cni_number:"", + birth_date:new Date(), + birth_place:"", + birth_country:"", + nationality_country:"", + father_lastname:"", + father_firstname:"", + mother_lastname:"", + mother_firstname:"", + signboard:"", + entreprise_creation_date: new Date(), // initialisation avec la date actuelle + showDatePicker: false, }; @@ -170,7 +184,36 @@ class CreateUserStep extends Component { this.props.saveActifSocietyReset(); OneSignal.addEventListener('ids', this.onIds); } + // Méthode appelée lors de la sélection d'une date + onChangeDate = (event, selectedDate) => { + // Sur Android, si l'utilisateur annule, event.type sera "dismissed" + if (Platform.OS === 'android' && event.type === 'dismissed') { + this.setState({ showDatePicker: false }); + return; + } + const currentDate = selectedDate || this.state.entreprise_creation_date; + this.setState({ + entreprise_creation_date: currentDate, + showDatePicker: Platform.OS === 'ios' // en iOS, le picker reste affiché + }); + }; + onChangeDate2 = (event, selectedDate) => { + // Sur Android, si l'utilisateur annule, event.type sera "dismissed" + if (Platform.OS === 'android' && event.type === 'dismissed') { + this.setState({ showDatePicker: false }); + return; + } + const currentDate = selectedDate || this.state.birth_date; + this.setState({ + birth_date: currentDate, + showDatePicker: Platform.OS === 'ios' // en iOS, le picker reste affiché + }); + }; + // Afficher le date picker + showDatePicker = () => { + this.setState({ showDatePicker: true }); + }; createFormData = (photo) => { this.dataToSendTemp.append("image", { name: photo.path.split('/').pop(), @@ -1303,7 +1346,7 @@ handleTaxSlection = (selectedTax) => { renderUserGeoAccount() { let year = new Date(); - const {required_taxes_only_single_tax, selectedTax} = this.state + const {required_taxes_only_single_tax, selectedTax,accountType} = this.state return ( {this.state.displayImage && this.renderDialogImage()} @@ -1319,9 +1362,37 @@ handleTaxSlection = (selectedTax) => { this._scrollView = component} style={styles.container}> + {/* Sélection du type de compte */} + + + <> {I18n.t('INFORMATION_FICHE_CIRCUIT')} + {/* + this.setState({ accountType: value })} + value={accountType} + /> + */} + + + + { this.societyTypeAnim = comp @@ -1334,8 +1405,9 @@ handleTaxSlection = (selectedTax) => { borderRadius: 10, paddingLeft: 20, paddingRight: 20, - backgroundColor: 'white' + backgroundColor: this.state.accountType && this.state.accountType !== '' ? '#FFE0B2' : 'white' }}> + {console.log("this.state.result.companies_types===>>",this.state.result.companies_types)} { onChangeText={(value, index, data) => { this.setState({companies_types_selected: value.id}); this.updateRequiredTaxes(value); - //console.log("Company", value); + console.log("value12===>>",value) + if (value.name ==="PPH"){ this.setState({accountType:"PP"})}else{this.setState({accountType:"PM"})} + }} /> + { accountType === "PP" && ( + <> + {/* Champ NUMERO CNI (obligatoire) */} + this.setState({ cni_number: text })} + /> + {/* Champ DATE DE NAISSANCE (obligatoire) */} + {/* this.setState({ birth_date: text })} + /> */} + + + + Date de naissance * + + + + + {this.state.birth_date.toLocaleDateString()} + + + + + {this.state.showDatePicker &&( + + )} + {/* Champ LIEU DE NAISSANCE (obligatoire) */} + this.setState({ birth_place: text })} + /> + {/* Champ PAYS NAISSANCE (obligatoire) */} + this.setState({ birth_country: text })} + /> + {/* Champ PAYS NATIONALITE (obligatoire) */} + this.setState({ nationality_country: text })} + /> + {/* Champs pour les informations parentales */} + this.setState({ father_lastname: text })} + /> + this.setState({ father_firstname: text })} + /> + this.setState({ mother_lastname: text })} + /> + this.setState({ mother_firstname: text })} + /> + {/* Masquer les champs TECHNICAL AGREMENT et PATENTE */} + + )} + + { accountType === "PM" && ( + <> + {/* Champ SIGLE (commun aux deux types mais ici on le traite dans le PM) */} + this.setState({ signboard: text })} + /> + {/* Champ DATE CREATION (obligatoire) */} + {/* this.setState({ entreprise_creation_date: text })} + /> */} + + + + Date de création + + + + + {this.state.entreprise_creation_date.toLocaleDateString()} + + + + + {this.state.showDatePicker &&( + + )} + {/* Ici, on peut conserver TECHNICAL AGREMENT et PATENTE pour PM */} + this.setState({ technical_approval: text })} + /> + this.setState({ id_patente: text })} + /> + + )} {required_taxes_only_single_tax ? ( @@ -1618,7 +1884,7 @@ handleTaxSlection = (selectedTax) => { }}/> - + {/* { onChangeText={(text) => { this.setState({id_patente: text}) }}/> - + */} { this.setState({IRPP: value})} - value={this.state.IRPP} + onValueChange={value => this.setState({licence: value})} + value={this.state.licence} style={styles.checkbox}/> Licence + {console.log("licence===>>",this.state.licence)} + {console.log("licence===>>",typeof this.state.licence)} {/* @@ -2132,7 +2400,7 @@ handleTaxSlection = (selectedTax) => { } data['taxes'] = taxes_to_send; - data['required_taxes'] = this.state.required_taxes.filter((element, i) => element.id_network_tax === this.state.selectedTax.id) + data['required_taxes'] = this.state.required_taxes.filter((element, i) => element.id_network_tax === this.state.selectedTax?.id) //data['required_taxes'] = this.state.required_taxes; data['id_company_type'] = this.state.companies_types_selected; data['identification_number'] = this.state.identification_number; @@ -2146,6 +2414,7 @@ handleTaxSlection = (selectedTax) => { data['id_patente'] = this.state.id_patente; data['TVA'] = this.state.TVA; data['IRPP'] = this.state.IRPP; + data['licence'] = this.state.licence; data['activity_type'] = this.state.activity_type; data['year_tax_paid_N_1'] = this.state.year_tax_paid_N; data['year_tax_paid_N_2'] = this.state.year_tax_paid_N_1; @@ -2153,6 +2422,18 @@ handleTaxSlection = (selectedTax) => { data['latitude'] = this.state.data.latitude; data['longitude'] = this.state.data.longitude; data['player_id'] = this.state.player_id; + data['accountType'] = this.state.accountType; + data['cni_number'] = this.state.cni_number; + data['birth_date'] = this.state.birth_date; + data['birth_place'] = this.state.birth_place; + data['birth_country'] = this.state.birth_country; + data['nationality_country'] = this.state.nationality_country; + data['father_lastname'] = this.state.father_lastname; + data['father_firstname'] = this.state.father_firstname; + data['mother_lastname'] = this.state.mother_lastname; + data['mother_firstname'] = this.state.mother_firstname; + data['signboard'] = this.state.signboard; + data['entreprise_creation_date'] = this.state.entreprise_creation_date; for (let i in user) { data[i] = user[i]; } @@ -2257,8 +2538,8 @@ handleTaxSlection = (selectedTax) => { } else this.setState({isLoading: false}); } else { + console.log("here===>>",data); createGeolocatedAccount(data).then((result) => { - console.log("here===>>",data); console.log("here2===>>",result); if (result.success !== undefined && result.success === 1) { const message = result.category === 'super' ? I18n.t("HYPERVISOR_MUST_VALIDATE_SUPERVISOR") diff --git a/app/screens/login/ForgottenPassword.js b/app/screens/login/ForgottenPassword.js index b2c7cab..c07e07f 100644 --- a/app/screens/login/ForgottenPassword.js +++ b/app/screens/login/ForgottenPassword.js @@ -228,6 +228,7 @@ export default class ForgottenPassword extends Component{ iconName={'phone'} label={"Indicatif"} style={styles.inputCode} + onChangeText={(text) => { this.setState({indicatif: text})}} value={this.state.indicatif} iconColor={theme.accent} /> @@ -250,10 +251,12 @@ export default class ForgottenPassword extends Component{ onRenitPassword() { if(this.state.phone.length>0){ + console.log("Messi===>>") if(this.props.navigation.state.params.type!==null){ let type= this.props.navigation.state.params.type === 0 ? 'user' : 'agent'; console.log("Type user send", this.props.navigation.state.params.type); this.setState({isSending:true}); + console.log("Messi===>>",this.state.indicatif+this.state.phone,type) reinitpassword(this.state.indicatif+this.state.phone,type).then((data)=>{ this.setState({isSending:false}) diff --git a/app/utils/i18n/en.json b/app/utils/i18n/en.json index a5c3faf..fe48d87 100644 --- a/app/utils/i18n/en.json +++ b/app/utils/i18n/en.json @@ -594,7 +594,7 @@ "MODIFICATION_ORDRE_RECETTE": "Modify recipe order", "SAISIE_NUMERO_QUITANCE": "Enter receipt number", "MODIFICATION_NUMERO_QUITANCE": "Modify receipt number", - "SAISIR_QUITANCE": "Enter receipt", + "SAISIR_QUITANCE": "Making a payment", "CODE_AGENT": "Agent code ", "AVIS_IMPOSITION": "Tax notice", "AGENT_INFORMATION": "Agent Information", diff --git a/app/utils/i18n/fr.json b/app/utils/i18n/fr.json index 2c63c78..0b19a09 100644 --- a/app/utils/i18n/fr.json +++ b/app/utils/i18n/fr.json @@ -1,5 +1,5 @@ { - "WELCOME": "Bienvenue sur iLink City !", + "WELCOME": "Bienvenue sur Sim_ba mobile !", "WAITING_LONG": "Veuillez patienter un instant", "HELP": "Aide", "SIMPLE_USER": "Utilisateur simple", @@ -248,7 +248,7 @@ "HISTORY": "Historique", "WITHDRAWAL_TRANSACTION_HISTORY_DESCRIPTION": "Retrait de", "DEPOSIT_TRANSACTION_HISTORY_DESCRIPTION": "Dépôt de", - "NO_WALLET_HISTORY": "Aucune transaction à ce jour", + "NO_WALLET_HISTORY": "Aucun historique", "DEMAND_SEND": "Demande envoyé", "EPARGNE_DEPOSE": "Epargne déposée", "BREAK_EPARGNE_DONE": "Epargne cassée avec succès", @@ -301,7 +301,7 @@ "SUPER_ADMIN": "Super administrateur", "GEOLOCATED": "Agent géo-localisé", "DELETE_GEOLOCATED_USER": "Supprimer", - "ADDRESS": "Adresse EX:TotalEnergies Bonateki", + "ADDRESS": "Lieu dit EX:TotalEnergies Bonateki", "CREDIT": "Crédit", "NEXT": "Suivant", "PREVIOUS": "Précédent", @@ -384,7 +384,7 @@ "OK": "OK", "SIMPLE": "Simple", "BLOCKED": "Bloqué", - "APP_FULLNAME": "Ilink City", + "APP_FULLNAME": "Sim_ba mobile", "GUIDE_TITLE": "Bienvenue dans le Guide de", "GUIDE_USER_SIMPLE": "Guide pour un utilisateur", "GUIDE_AGENT": "Guide pour un agent", @@ -544,8 +544,8 @@ "MEMBERSHIP_REQUEST": "Demandes d'adhésion", "HISTORY_TYPE_REQUEST": "Requêtes", "TREAT": "Traité", - "EXIT_TITLE": "Fermer iLink City !", - "EXIT_DESC": "Voulez-vous vraiment fermer iLink City ?", + "EXIT_TITLE": "Fermer Sim_ba mobile !", + "EXIT_DESC": "Voulez-vous vraiment fermer Sim_ba mobile ?", "NO_TREAT": "Non traité", "EXIT": "Fermer", "PERIOD": "Période", @@ -558,7 +558,7 @@ "ACCOUNT_ACTIVATE_TEXT": "Votre compte a été activé avec succès !", "HISTORY_END": "Fin", "DONT_VALIDATE_ACCOUNT": "Compte non validé", - "CONNEXION_SUCCESSFULL_TEXT": "Connexion réussie. Bienvenue dans iLink City ! ", + "CONNEXION_SUCCESSFULL_TEXT": "Connexion réussie. Bienvenue dans Sim_ba mobile ! ", "UNVALIDATE_ACCOUNT_TEXT": "Votre hyperviseur n'a pas encore validé votre compte", "TEXT_NEED_POSITION": "Veuillez mettre à jour votre position !", "TITLE_NEED_POSITION": "Votre position doit être mise à jour", @@ -571,12 +571,12 @@ "TITLE_PROBLE_COME": "Un problème a été rencontré", "TITLE_SUPPRESS_CONFIRM": "Confirmation de suppression", "TEXT_SUPPRESS_CONFIRM": "Voulez vous vraiment supprimer cet utilisateur ?", - "TEXT_ERROR_START_APPLICATION": "Une erreur est survenue au démarrage de iLink City. Veuillez relancer iLink City", - "TEXT_UNABLE_TO_GET_YOUR_POSITION": "Impossible de recupérez votre position. Veuillez verifier que votre GPS est activé et relancez iLink City", + "TEXT_ERROR_START_APPLICATION": "Une erreur est survenue au démarrage de Sim_ba mobile. Veuillez relancer Sim_ba mobile", + "TEXT_UNABLE_TO_GET_YOUR_POSITION": "Impossible de recupérez votre position. Veuillez verifier que votre GPS est activé et relancez Sim_ba mobile", "RESTART": "RECOMMENCER", "TEXT_UNABLE_TO_GET_COUNTRY_INFO": "Impossible de recupérer les informations de votre pays. Verifiez votre connexion internet ! cliquez sur \"Ok\" pour reessayer", "TITLE_UNABLE_TO_AUTORISE": "Echec de l'autorisation", - "MISSING_AUTORISATION_LOCATION": "iLink City n'est pas autorisé à acceder à votre position. Veuillez autoriser iLink City à accéder à votre localisation et relancez iLink City", + "MISSING_AUTORISATION_LOCATION": "Sim_ba mobile n'est pas autorisé à acceder à votre position. Veuillez autoriser Sim_ba mobile à accéder à votre localisation et relancez Sim_ba mobile", "TEXT_FORGOTTEN_PASSWORD": "Saisissez votre identifiant,nous vous enverrons un nouveau mot de passe\n", "TEXT_NETWORK_UNABLE": "Réseau non disponible, voulez vous réessayer ?", "LOADING_TEXT_MARKERS": "Suite des points ", @@ -585,7 +585,7 @@ "LAUNCH_POINT_WITH_FILTER": "Voulez-vous relancer la recherche dans un rayon de ", "LOADING_TEXT_MARKERS_2": "autour", "UNABLE_GET_INFORMATION": "Problème de récuperation des Informations", - "UNABLE_GET_INFORMATION_TEXT": "Vérifiez que votre GPS est activé et mis en mode haute precision et relancez iLink City", + "UNABLE_GET_INFORMATION_TEXT": "Vérifiez que votre GPS est activé et mis en mode haute precision et relancez Sim_ba mobile", "TITLE_HELP_SOON": "Aide non disponible !", "YOUR_NETWORK": "Sélectionner votre réseau", "YOUR_NETWORK_SELECTED": "Classe de la taxe", @@ -601,7 +601,7 @@ "MODIFICATION_ORDRE_RECETTE": "Modifier ordre recette", "SAISIE_NUMERO_QUITANCE": "Saisir numéro quitance", "MODIFICATION_NUMERO_QUITANCE": "Modifier numéro quitance", - "SAISIR_QUITANCE": "Saisir quitance", + "SAISIR_QUITANCE": "Effectuer un paiement", "CODE_AGENT": "Code agent ", "AVIS_IMPOSITION": "Déclaration", "AGENT_INFORMATION": "Informations sur l'agent", @@ -612,7 +612,7 @@ "NUMERO_QUITANCE_SUCCES": "Numéro de quitance enregistré avec succès", "ORDRE_RECETTE_MODIFY_SUCCES": "Numéro ordre de recette modifié avec succès", "NUMERO_QUITANCE_MODIFY_SUCCES": "Numéro de quitance modifié avec succès", - "TAXES_SUR_LA_PROPRETE": "Impôt général synthétique", + "TAXES_SUR_LA_PROPRETE": "Impôt général synthétique *", "SAVE": "Enregistrer", "TEXT_SUPPRESS_CONFIRM_TAXE": "Voulez vous vraiment supprimer cette taxe?", "NUMERO_QUITANCE": "Numéro quitance", diff --git a/app/webservice/regisseur/WalletRegisseurApi.js b/app/webservice/regisseur/WalletRegisseurApi.js index 820662e..b8074a5 100644 --- a/app/webservice/regisseur/WalletRegisseurApi.js +++ b/app/webservice/regisseur/WalletRegisseurApi.js @@ -245,7 +245,7 @@ export const saveQuitanceAction = (data, pay = false) => { } }) .then(response => { - console.log(response); + console.log("Reponse Wallet===>>",response); dispatch(fetchModifyAvisImpositionSuccess(response)); }) .catch(error => {