feat: Update localization and UI elements for improved user experience

- Integrated I18n for dynamic placeholder text in FilteredList component.
- Enhanced createAccount screen with localized hierarchical and tax code descriptions.
- Corrected town ID references in createUserStep2 component.
- Updated Arabic and English localization files to reflect the new app name "SIM_ba" and other relevant text changes.
- Modified MapService to use the correct geocoding URL for API requests.
This commit is contained in:
Don Wilfried 2025-04-25 10:54:38 +01:00
parent daa2e8ed33
commit 5ff764381d
13 changed files with 724 additions and 411 deletions

View File

@ -1,5 +1,5 @@
{
"WELCOME": "مرحبًا بكم في iLink World!",
"WELCOME": "مرحبًا بكم في SIM_ba!",
"HELP": "مساعدة",
"SIMPLE_USER": "مستخدم بسيط",
"GEOLOCATED_USER": "الموقع الجغرافي المستخدم",
@ -209,7 +209,7 @@
"MEMBERSHIP_REQUEST": "طلبات العضوية",
"HISTORY_TYPE_REQUEST": "استعلامات",
"TREAT": "معاهدة",
"EXIT_TITLE": "أغلق iLink World!",
"EXIT_TITLE": "أغلق SIM_ba!",
"EXIT_DESC": "هل تريد حقًا إغلاق iLink World؟",
"NO_TREAT": "غير معالج",
"EXIT": "أغلق",
@ -223,7 +223,7 @@
"ACCOUNT_ACTIVATE_TEXT": "تم تنشيط حسابك بنجاح!",
"HISTORY_END": "النهاية",
"DONT_VALIDATE_ACCOUNT": "الحساب لم يتم التحقق منه",
"CONNECTION_SUCCESSFULL_TEXT": "تسجيل دخول ناجح مرحبًا بك في iLink World!",
"CONNECTION_SUCCESSFULL_TEXT": "تسجيل دخول ناجح مرحبًا بك في SIM_ba!",
"UNVALIDATE_ACCOUNT_TEXT": "لم يدقق برنامج Hypervisor في حسابك بعد",
"TEXT_NEED_POSITION": "الرجاء تحديث موقعك!",
"TITLE_NEED_POSITION": "يلزم تحديث موقعك",
@ -234,18 +234,18 @@
"TEXT_UPDATE_POSITION_FAILED_2": "غير قادر على استعادة موقعك",
"TITLE_ERROR_SURVENU": "لقد حدث خطأ!",
"TITLE_PROBLE_COME": "حدثت مشكلة",
"TEXT_ERROR_START_APPLICATION": "حدث خطأ أثناء بدء iLink World ، يرجى إعادة تشغيل iLink World",
"TEXT_UNABLE_TO_GET_YOUR_POSITION": "غير قادر على استعادة موقعك ، يرجى التأكد من تمكين GPS الخاص بك وإعادة تشغيل iLink World",
"TEXT_ERROR_START_APPLICATION": "حدث خطأ أثناء بدء SIM_ba ، يرجى إعادة تشغيل SIM_ba",
"TEXT_UNABLE_TO_GET_YOUR_POSITION": "غير قادر على استعادة موقعك ، يرجى التأكد من تمكين GPS الخاص بك وإعادة تشغيل SIM_ba",
"RESTART": "كرر",
"TEXT_UNABLE_TO_GET_COUNTRY_INFO": "غير قادر على استرداد المعلومات من بلدك. تحقق من اتصالك بالإنترنت. انقر فوق موافق للمحاولة مرة أخرى.",
"TITLE_UNABLE_TO_AUTORISE": "فشل التفويض",
"MISSING_AUTORISATION_LOCATION": "iLink World غير مخول للوصول إلى موقعك ، يرجى السماح لـ iLink World بالوصول إلى موقعك وإعادة تشغيل iLink World",
"MISSING_AUTORISATION_LOCATION": "SIM_ba غير مخول للوصول إلى موقعك ، يرجى السماح لـ SIM_ba بالوصول إلى موقعك وإعادة تشغيل SIM_ba",
"TEXT_FORGOTTEN_PASSWORD": "أدخل اسم المستخدم الخاص بك ، وسنرسل لك كلمة مرور جديدة",
"TEXT_NETWORK_UNABLE": "الشبكة غير متوفرة ، هل تريد المحاولة مرة أخرى؟",
"LOADING_TEXT_MARKERS": "المزيد من النقاط",
"LOADING_TEXT_MARKERS_2": "around،",
"UNABLE_GET_INFORMATION": "مشكلة استرجاع المعلومات",
"UNABLE_GET_INFORMATION_TEXT": "تأكد من تشغيل GPS ووضعه في وضع الدقة العالية وإعادة تشغيل iLink World",
"UNABLE_GET_INFORMATION_TEXT": "تأكد من تشغيل GPS ووضعه في وضع الدقة العالية وإعادة تشغيل SIM_ba",
"ACCOUNT_CREATED_SUCCESS": "تم إنشاء الحساب بنجاح. سوف تتلقى في بضع دقائق رسالة بريد إلكتروني ورسالة نصية تحتوي على معلوماتك. سنقوم بإعادة توجيهك إلى صفحة تسجيل الدخول",
"TITLE_HELP_SOON": "مساعدة غير متوفرة!",
"HELP_SOON": "سيكون هناك برنامج تعليمي يساعدك في فهم ميزات التطبيق قريبًا."

View File

@ -1,5 +1,5 @@
{
"WELCOME": "Welcome to iLink World !",
"WELCOME": "Welcome to SIM_ba !",
"WAITING_LONG": "Waiting for a moment",
"HELP": "Help",
"SIMPLE_USER": "Simple User",
@ -136,7 +136,7 @@
"QUARTIER_COMMUNE": "Neighborhood in the town",
"ARRONDISSEMENT": "Borough",
"PATENTE": "Patent",
"TVA": "TVA",
"TVA": "VAT",
"IRPP": "IRPP",
"ANNEE_TAXE": "Paid year taxed",
"ANNEE_TAXE_N": "Paid year taxed N",
@ -451,7 +451,6 @@
"CHOOSE_LANGUAGE": "Choose the language",
"MODIFY_PASSWORD": "Forgotten password",
"CONTACT": "Contact",
"UPDATE": "... update",
"FAQ": "FAQ",
"UPDATE_POSITION_TEXT": "Update my position",
"YOU_ARE": "Are you?",
@ -538,8 +537,8 @@
"MEMBERSHIP_REQUEST": "Membership applications",
"HISTORY_TYPE_REQUEST": "Queries",
"TREAT": "Processed",
"EXIT_TITLE": "Close iLink World!",
"EXIT_DESC": "Do you really want to close iLink World?",
"EXIT_TITLE": "Close SIM_ba!",
"EXIT_DESC": "Do you really want to close SIM_ba?",
"NO_TREAT": "Unprocessed",
"EXIT": "Close",
"PERIOD": "Period",
@ -552,7 +551,7 @@
"ACCOUNT_ACTIVATE_TEXT": "Your account has been activated successfully!",
"HISTORY_END": "End",
"DONT_VALIDATE_ACCOUNT": "Account not validated",
"CONNEXION_SUCCESSFULL_TEXT": "Successful login Welcome to iLink World!",
"CONNEXION_SUCCESSFULL_TEXT": "Successful login Welcome to SIM_ba!",
"UNVALIDATE_ACCOUNT_TEXT": "Your hypervisor has not yet verified your account",
"TEXT_NEED_POSITION": "Please update your location!",
"TITLE_NEED_POSITION": "Your location needs to be updated",
@ -565,12 +564,12 @@
"TITLE_PROBLE_COME": "A problem has been encountered",
"TITLE_SUPPRESS_CONFIRM": "Confirm deletion",
"TEXT_SUPPRESS_CONFIRM": "Do you really want to delete this user ?",
"TEXT_ERROR_START_APPLICATION": "An error occurred while starting iLink World, please restart iLink World",
"TEXT_UNABLE_TO_GET_YOUR_POSITION": "Unable to retrieve your location, please make sure your GPS is enabled and restart iLink World",
"TEXT_ERROR_START_APPLICATION": "An error occurred while starting SIM_ba, please restart SIM_ba",
"TEXT_UNABLE_TO_GET_YOUR_POSITION": "Unable to retrieve your location, please make sure your GPS is enabled and restart SIM_ba",
"RESTART": "REPEAT",
"TEXT_UNABLE_TO_GET_COUNTRY_INFO": "Unable to retrieve information from your country, check your internet connection, click \" Ok \"to try again,",
"TITLE_UNABLE_TO_AUTORISE": "Failed to Authorize",
"MISSING_AUTORISATION_LOCATION": "iLink World is not authorized to access your location, please allow iLink World to access your location and restart iLink World",
"MISSING_AUTORISATION_LOCATION": "SIM_ba is not authorized to access your location, please allow SIM_ba to access your location and restart SIM_ba",
"TEXT_FORGOTTEN_PASSWORD": "Enter your username, we will send you a new password",
"TEXT_NETWORK_UNABLE": "Network not available, want to try again?",
"LOADING_TEXT_MARKERS": "More points",
@ -579,7 +578,7 @@
"NO_POINT_FOUND": "No points found ",
"LAUNCH_POINT_WITH_FILTER": "Do you want to restart the search within a radius of ",
"UNABLE_GET_INFORMATION": "Problem of retrieval of information",
"UNABLE_GET_INFORMATION_TEXT": "Make sure your GPS is turned on and put in high precision mode and restart iLink World",
"UNABLE_GET_INFORMATION_TEXT": "Make sure your GPS is turned on and put in high precision mode and restart SIM_ba",
"TITLE_HELP_SOON": "Help not available!",
"YOUR_NETWORK": "Select your network",
"YOUR_NETWORK_SELECTED": "Your network",
@ -602,11 +601,10 @@
"UPDATE_DATE": "Date updated",
"ASSIGN_TO_AGENT": "Assign to an agent",
"AVIS_MODIFY_SUCCESS": "Notice successfully amended",
"ORDRE_RECETTE_SUCCES": "Recipe order entered successfully",
"NUMERO_QUITANCE_SUCCES": "Successful receipt number",
"ORDRE_RECETTE_MODIFY_SUCCES": "Recipe order number successfully changed",
"NUMERO_QUITANCE_MODIFY_SUCCES": "Receipt number changed successfully",
"TAXES_SUR_LA_PROPRETE": "Tax on cleanliness",
"TAXES_SUR_LA_PROPRETE": "Synthetic general tax *",
"SAVE": "Save",
"TEXT_SUPPRESS_CONFIRM_TAXE": "Are you sure you want to remove this tax?",
"NUMERO_QUITANCE": "Receipt number",
@ -633,12 +631,10 @@
"PAYMENT_DEADLINE": "Payment deadline",
"TAX_NOTICE_CREATED_AT": "Tax notice created at",
"TOTAL_AMOUNT": "Total amount",
"UPDATE_DATE": "Update date",
"YEAR": "Year",
"TYPE": "Type",
"CODE_MEMBRE": "Sponsor code",
"DISTRICT": "District",
"IDENTIFICATION_NUMBER": "Identification number",
"MUNICIPALITY": "Municipality",
"ID_PATENTE": "ID patent",
"NETWORK_ID": "Network ID",

View File

@ -307,7 +307,7 @@
"CREDIT": "Crédit",
"NEXT": "Suivant",
"PREVIOUS": "Précédent",
"SPONSOR_CODE": "Code réseau de taxe",
"SPONSOR_CODE": "Code classe de taxes",
"CODE_PARRAIN": "Code hiérarchique ou taxe",
"CODE_SPONSOR": "Code sponsor",
"SOLDE_UNVAIBLE": "solde non disponible",
@ -426,7 +426,7 @@
"TEXT_GUIDE_USER_11": "Cliquez sur l'option de profil pour avoir des informations lier à votre compte",
"CATEGORY": "Catégorie",
"WAY": "Itinéraire",
"ADD_NETWORK": "Ajouter réseau de taxe",
"ADD_NETWORK": "Ajouter une classe de taxes",
"POINT_NUMBER": "Nombres de points",
"SUPERIOR_CODE": "Code hiérarchique ou taxe",
"ADD_SUCCES": "Ajout reussi",
@ -459,7 +459,6 @@
"CHOOSE_LANGUAGE": "Choisir la langue",
"MODIFY_PASSWORD": "Mot de passe oublié",
"CONTACT": "Contact",
"UPDATE": "... mise à jour",
"FAQ": "FAQ",
"UPDATE_POSITION_TEXT": "Mettre à jour ma position",
"YOU_ARE": "Vous êtes ?",
@ -600,23 +599,21 @@
"ORDRE_RECETTE": "Ordre recette",
"NO_ORDRE_RECETTE": "Aucun ordre de recette",
"MODIFICATION_ORDRE_RECETTE": "Modifier ordre recette",
"SAISIE_NUMERO_QUITANCE": "Saisir numéro quitance",
"MODIFICATION_NUMERO_QUITANCE": "Modifier numéro quitance",
"SAISIR_QUITANCE": "Saisir quitance",
"SAISIE_NUMERO_QUITANCE": "Saisir numéro quittance",
"MODIFICATION_NUMERO_QUITANCE": "Modifier numéro quittance",
"SAISIR_QUITANCE": "Saisir paiement ou quittance",
"CODE_AGENT": "Code agent ",
"AVIS_IMPOSITION": "Déclaration",
"AGENT_INFORMATION": "Informations sur l'agent",
"UPDATE_DATE": "Date de mis à jour",
"ASSIGN_TO_AGENT": "Assigner à un agent",
"AVIS_MODIFY_SUCCESS": "Avis modifié avec succès",
"ORDRE_RECETTE_SUCCES": "Ordre de recette saisi avec succès",
"NUMERO_QUITANCE_SUCCES": "Numéro de quitance enregistré avec succès",
"NUMERO_QUITANCE_SUCCES": "Numéro de quittance 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": "Taxe sur la propreté",
"NUMERO_QUITANCE_MODIFY_SUCCES": "Numéro de quittance modifié avec succès",
"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",
"NUMERO_QUITANCE": "Numéro quittance",
"QUITANCE": "Quitance",
"ORDRE_DE_RECETTE": "Ordre de recette",
"MODIFY_ORDRE_DE_RECETTE": "Modifier ordre de recette",
@ -645,12 +642,11 @@
"TYPE": "Type",
"CODE_MEMBRE": "Code sponsor",
"DISTRICT": "District",
"IDENTIFICATION_NUMBER": "Numéro d'identification",
"MUNICIPALITY": "Municipalité",
"ID_PATENTE": "ID patente",
"NETWORK_ID": "ID du réseau",
"NEIGHTBORHOOD": "Quartier",
"ORDRE_RECETTE_RECEIPT": "Recette et quitance",
"ORDRE_RECETTE_RECEIPT": "Recette et quittance",
"HISTORY_OF": "Historique des",
"AVIS_IMPOSITIONS": "déclarations",
"ORDRE_RECETTES_RECEIPTS": "recettes et quitances",
@ -694,7 +690,6 @@
"ACTIF": "actif",
"ACTIFS": "actifs",
"TAXE_INFORMATION": "Informations sur la déclaration",
"ACTIFS": "actifs",
"NUMERO_AVIS_IMPOSITION": "N° déclaration",
"ADD_ORDRE_RECETTE": "Ajouter un ordre de recette",
"PENALITE_ON_TAXE": "Pénalité sur les taxes",
@ -707,14 +702,14 @@
"DELETE_PENALITE": "Supprimer la pénalité",
"TAUX_PENALITE": "Taux de pénalité (%)",
"TAUX": "Taux",
"NO_ORDRE_RECETTE_WITH_QUITANCE": "Aucun ordre de recette sans quitance",
"NO_ORDRE_RECETTE_WITH_QUITANCE": "Aucun ordre de recette sans quittance",
"SAVE_PENALITY": "Taux",
"SAISIE_PENALITY": "Saisie des pénalités",
"MODIFICATION_SAISIE_PENALITY": "Modification/Suppression",
"YOU_HAVE_DEFINED_PENALITY_FOR_THIS_YEAR": "Vous avez déjà définit une pénalité pour les années suivantes:",
"AMOUNT_ORDRE_RECETTE": "Montant de l'ordre de recette",
"AMOUNT_TAX_NOTICE": "Montant de la déclaration",
"YOU_CANT_DELETE_LAST_TAX_NOTICE": "Une quitance doit contenir au moins un ordre de recette",
"YOU_CANT_DELETE_LAST_TAX_NOTICE": "Une quittance doit contenir au moins un ordre de recette",
"WOULD_YOU_WANT_SEARCH_BY_NAME": "Voulez-vous rechercher l'usager par son nom ?",
"USAGER_NAME": "Nom de l'usager",
"NO_USAGER_CORRESPONDING_TO_SEARCH": "Aucun usager ne correspond à votre recherche",
@ -729,9 +724,8 @@
"PENALITE_INCLUSE": "Pénalité incluse",
"SOINS": "Soins",
"INVOICE": "Facture",
"ORDRE_RECETTE_QUITANCE": "Ordre et quitance",
"ORDRE_RECETTE_QUITANCE": "Ordre et quittance",
"ID": "ID",
"CONNEXION_CHOICE": "Choix de connexion",
"CONNEXION_CHOICE_DESCRIPTION": "Un compte agent de recharge est associé à votre numéro. Voulez vous continuer en tant que agent recharge ?"
}

View File

@ -1,3 +1,3 @@
<resources>
<string name="app_name">Simba</string>
<string name="app_name">SIM_ba mobile CUD</string>
</resources>

View File

@ -324,7 +324,7 @@ const WebviewScreen = ({
const params = queryString.parse(webViewState.url);
let transaction_id = '';
let token = '';
let token = null;
const keys = Object.keys(params);
keys.forEach(elt => {
if (elt.includes('transaction_id')) transaction_id = params[elt];

View File

@ -131,9 +131,9 @@ class CreateUserStep extends Component {
companies_types_selected_value: null,
responsable_name: null,
technical_approval: null,
municipality: null,
municipality: "Douala",
neighborhood: null,
district: null,
district: "Douala 3eme",
id_patente: null,
TVA: false,
IRPP: false,
@ -160,7 +160,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,
};
@ -578,8 +590,8 @@ class CreateUserStep extends Component {
renderRequiredTaxesDropdown = (item, index) => {
return (
<>
{/* <Animatable.View key={index}>
<View
<Animatable.View key={index}>
{/* <View
style={{
marginTop: 20,
flexDirection: "row",
@ -607,8 +619,8 @@ class CreateUserStep extends Component {
}}
/>
</View>
</View>
</Animatable.View> */}
</View> */}
</Animatable.View>
{
item.measurement_unit !== "forfait" &&
<>
@ -1304,7 +1316,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 (
<View style={styles.container}>
{this.state.displayImage && this.renderDialogImage()}
@ -1335,7 +1347,7 @@ handleTaxSlection = (selectedTax) => {
borderRadius: 10,
paddingLeft: 20,
paddingRight: 20,
backgroundColor: 'white'
backgroundColor: this.state.accountType && this.state.accountType !== '' ? '#FFE0B2' : 'white'
}}>
{console.log("this.state.result===>>",this.state.result)}
<Dropdown
@ -1351,12 +1363,206 @@ handleTaxSlection = (selectedTax) => {
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"})}
}}
/>
</View>
</Animatable.View>
{ accountType === "PP" && (
<>
{/* Champ NUMERO CNI (obligatoire) */}
<Fumi
iconClass={FontAwesomeIcon}
iconName={'id-card'}
label={I18n.t('ID_CARD_NUMBER')}
iconColor={'#f95a25'}
style={styles.input}
value={this.state.cni_number}
onChangeText={(text) => this.setState({ cni_number: text })}
/>
{/* Champ DATE DE NAISSANCE (obligatoire) */}
{/* <Fumi
iconClass={FontAwesomeIcon}
iconName={'calendar'}
label="Date de naissance *"
iconColor={'#f95a25'}
style={styles.input}
value={this.state.birth_date}
onChangeText={(text) => this.setState({ birth_date: text })}
/> */}
<TouchableOpacity onPress={this.showDatePicker} style={{height: 60,
marginTop: responsiveHeight(2),
marginLeft: responsiveWidth(5),
marginRight: responsiveWidth(5),
backgroundColor:"white",
padding: 10,
borderRadius: 5,}}>
<View>
<Text style={{ marginLeft: 5,marginBottom:5 }}>
{I18n.t('BIRTH_DATE')}
</Text>
<View style={{ flexDirection: 'row', alignItems: 'center' }}>
<FontAwesomeIcon name="calendar" size={20} color="#f95a25" />
<Text style={{ marginLeft: 10 }}>
{this.state.birth_date.toLocaleDateString()}
</Text>
</View>
</View>
</TouchableOpacity >
{this.state.showDatePicker &&(
<DateTimePicker
testID="dateTimePicker"
value={this.state.birth_date}
mode="date"
display="default"
onChange={this.onChangeDate2}
/>
)}
{/* Champ LIEU DE NAISSANCE (obligatoire) */}
<Fumi
iconClass={FontAwesomeIcon}
iconName={'map-marker'}
label={I18n.t('BIRTH_PLACE')}
iconColor={'#f95a25'}
style={styles.input}
value={this.state.birth_place}
onChangeText={(text) => this.setState({ birth_place: text })}
/>
{/* Champ PAYS NAISSANCE (obligatoire) */}
<Fumi
iconClass={FontAwesomeIcon}
iconName={'globe'}
label={I18n.t('BIRTH_COUNTRY')}
iconColor={'#f95a25'}
style={styles.input}
value={this.state.birth_country}
onChangeText={(text) => this.setState({ birth_country: text })}
/>
{/* Champ PAYS NATIONALITE (obligatoire) */}
<Fumi
iconClass={FontAwesomeIcon}
iconName={'flag'}
label={I18n.t('NATIONALITY_FORM')}
iconColor={'#f95a25'}
style={styles.input}
value={this.state.nationality_country}
onChangeText={(text) => this.setState({ nationality_country: text })}
/>
{/* Champs pour les informations parentales */}
<Fumi
iconClass={FontAwesomeIcon}
iconName={'user'}
label={I18n.t('MOTHER_LASTNAME')}
iconColor={'#f95a25'}
style={styles.input}
value={this.state.mother_lastname}
onChangeText={(text) => this.setState({ mother_lastname: text })}
/>
<Fumi
iconClass={FontAwesomeIcon}
iconName={'user'}
label={I18n.t('MOTHER_FIRSTNAME')}
iconColor={'#f95a25'}
style={styles.input}
value={this.state.mother_firstname}
onChangeText={(text) => this.setState({ mother_firstname: text })}
/>
<Fumi
iconClass={FontAwesomeIcon}
iconName={'user'}
label={I18n.t('FATHER_LASTNAME')}
iconColor={'#f95a25'}
style={styles.input}
value={this.state.father_lastname}
onChangeText={(text) => this.setState({ father_lastname: text })}
/>
<Fumi
iconClass={FontAwesomeIcon}
iconName={'user'}
label={I18n.t('FATHER_FIRSTNAME')}
iconColor={'#f95a25'}
style={styles.input}
value={this.state.father_firstname}
onChangeText={(text) => this.setState({ father_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) */}
<Fumi
iconClass={FontAwesomeIcon}
iconName={'id-badge'}
label={I18n.t('SIGNBOARD')}
iconColor={'#f95a25'}
style={styles.input}
value={this.state.signboard}
onChangeText={(text) => this.setState({ signboard: text })}
/>
{/* Champ DATE CREATION (obligatoire) */}
{/* <Fumi
iconClass={FontAwesomeIcon}
iconName={'calendar'}
label="Date de création *"
iconColor={'#f95a25'}
style={styles.input}
value={this.state.entreprise_creation_date}
onChangeText={(text) => this.setState({ entreprise_creation_date: text })}
/> */}
<TouchableOpacity onPress={this.showDatePicker} style={{height: 60,
marginTop: responsiveHeight(2),
marginLeft: responsiveWidth(5),
marginRight: responsiveWidth(5),
backgroundColor:"white",
padding: 10,
borderRadius: 5,}}>
<View>
<Text style={{ marginLeft: 5,marginBottom:5 }}>
{I18n.t('CREATION_DATE')}
</Text>
<View style={{ flexDirection: 'row', alignItems: 'center' }}>
<FontAwesomeIcon name="calendar" size={20} color="#f95a25" />
<Text style={{ marginLeft: 10 }}>
{this.state.entreprise_creation_date.toLocaleDateString()}
</Text>
</View>
</View>
</TouchableOpacity >
{this.state.showDatePicker &&(
<DateTimePicker
testID="dateTimePicker"
value={this.state.entreprise_creation_date}
mode="date"
display="default"
onChange={this.onChangeDate}
/>
)}
{/* Ici, on peut conserver TECHNICAL AGREMENT et PATENTE pour PM */}
<Fumi
iconClass={FontAwesomeIcon}
iconName={'file'}
label={I18n.t('TECHNICAL_APPROVAL')}
iconColor={'#f95a25'}
style={styles.input}
value={this.state.technical_approval}
onChangeText={(text) => this.setState({ technical_approval: text })}
/>
<Fumi
iconClass={FontAwesomeIcon}
iconName={'file'}
label={I18n.t('TRADE_LICENSE')}
iconColor={'#f95a25'}
style={styles.input}
value={this.state.id_patente}
onChangeText={(text) => this.setState({ id_patente: text })}
/>
</>
)}
{required_taxes_only_single_tax ? (
<Animatable.View ref={(comp) => {
@ -1387,6 +1593,7 @@ handleTaxSlection = (selectedTax) => {
return value.name
}}
onChangeText={this.handleTaxSlection}
/>
</View>
</View> */}
@ -1544,6 +1751,8 @@ handleTaxSlection = (selectedTax) => {
label={`${I18n.t("COMMUNE_SIEGE_SOCIAL")} *`}
data={this.state.result.municipalities}
useNativeDriver={true}
disabled={true}
value={this.state.municipality}
valueExtractor={(value) => {
return value
}}
@ -1576,6 +1785,8 @@ handleTaxSlection = (selectedTax) => {
label={`${I18n.t('ARRONDISSEMENT')} *`}
data={this.result.districts}
useNativeDriver={true}
disabled={true}
value={this.state.district}
valueExtractor={(value) => {
return value
}}
@ -1589,7 +1800,7 @@ handleTaxSlection = (selectedTax) => {
</View>
</Animatable.View>
<Animatable.View ref={(comp) => {
{/* <Animatable.View ref={(comp) => {
this.neightborhoodAnim = comp
}}>
<Fumi iconClass={FontAwesomeIcon}
@ -1601,7 +1812,20 @@ handleTaxSlection = (selectedTax) => {
onChangeText={(text) => {
this.setState({neighborhood: text})
}}/>
</Animatable.View>
</Animatable.View> */}
<Animatable.View ref={(comp) => { this.neightborhoodAnim = comp }}>
{console.log("ICI===>>",this.state.result)}
{console.log("ICI===>>",this.state.result.neighborhoods)}
<FilteredList
items={this.state.result.neighborhoods}
placeholder={I18n.t('FIND_A_NEIGHBORHOOD')}
onItemSelect={(selectedItem) => {
const id = parseInt(selectedItem.id, 10);
this.setState({ neighborhood: selectedItem.name });
}}
/>
</Animatable.View>
{/* <Text style={styles.title}>{this.state.neighborhood}</Text> */}
<Animatable.View>
<Fumi iconClass={FontAwesomeIcon}
@ -2140,12 +2364,43 @@ 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];
}
data['category'] = user.category;
data['active'] = '0';
// Ajout de la logique conditionnelle pour vider les champs en fonction du type de compte.
if (this.state.accountType === "PP") {
// Pour une personne physique, on s'assure que les champs spécifiques à une personne morale soient à null.
data['signboard'] = null;
data['entreprise_creation_date'] = null;
data['technical_approval'] = null;
data['id_patente'] = null;
} else if (this.state.accountType === "PM") {
// Pour une personne morale, on met à null les champs spécifiques à une personne physique.
data['cni_number'] = null;
data['birth_date'] = null;
data['birth_place'] = null;
data['birth_country'] = null;
data['nationality_country'] = null;
data['father_lastname'] = null;
data['father_firstname'] = null;
data['mother_lastname'] = null;
data['mother_firstname'] = null;
}
console.log("DATA TO SEND CONVERT", data);
let idsNetworksGroup1 = ["15", "16", "21", "17"];
@ -2244,9 +2499,9 @@ handleTaxSlection = (selectedTax) => {
} else this.setState({isLoading: false});
} else {
console.log("here===>>",JSON.stringify(data, null, 2));
createGeolocatedAccount(data).then((result) => {
console.log('resulta==========>>>>>>>',result);
console.log('datass==========>>>>>>>',data);
console.log("here2===>>",result);
if (result.success !== undefined && result.success === 1) {
const message = result.category === 'super' ? I18n.t("HYPERVISOR_MUST_VALIDATE_SUPERVISOR")
: I18n.t("ACCOUNT_SUCCESSFULL_CREATED")

View File

@ -1,6 +1,7 @@
import React, { Component } from 'react';
import { View, Text, TextInput, FlatList, TouchableOpacity } from 'react-native';
import { responsiveWidth} from 'react-native-responsive-dimensions';
import I18n from "react-native-i18n";
class FilteredList extends Component {
constructor(props) {
@ -52,7 +53,7 @@ class FilteredList extends Component {
>
<TextInput
style={{ padding: 18, borderBottomWidth: 1 }}
placeholder="Quelle est votre activité *"
placeholder={this.props.placeholder || I18n.t('WHATS_YOUR_BUSINESS')}
value={searchTerm}
onChangeText={this.handleSearch}
onFilterChange={this.handleFilter}

View File

@ -167,9 +167,17 @@ export default class CreateAccount extends Component {
}}>
{I18n.t('NEXT')}
</Button>
<View style={{display:"flex", flexDirection: 'column'}}>
<Text style={styles.indication}><Text style={styles.indicationTitle}>Code Hierachique :</Text> Code entré lors de la création d'un administrateur de taxe ou d'un régisseur</Text>
<Text style={styles.indication}><Text style={styles.indicationTitle}>Code Taxe :</Text> Code entré lors de la création d'un contribuable</Text>
<View style={{display: 'flex', flexDirection: 'column'}}>
<Text style={styles.indication}>
<Text style={styles.indicationTitle}>
{I18n.t('HIERACHIC_CODE')} :
</Text>{' '}
{I18n.t('HIERACHIC_CODE_DESCRIPTION')}
</Text>
<Text style={styles.indication}>
<Text style={styles.indicationTitle}>{I18n.t('TAX_CODE')} :</Text>{' '}
{I18n.t('TAX_CODE_DESCRIPTION')}
</Text>
</View>
</ScrollView>
);

View File

@ -148,7 +148,7 @@ export default class CreateUserStep2 extends Component {
longitude: "",
// town: {
// name: "Douala",
// id: "38",
// id: 2",
// indicatif: "+237"
// },
@ -515,7 +515,7 @@ export default class CreateUserStep2 extends Component {
town = result;
this.setState({town: {
name: "Douala",
id: "38",
id: "2",
indicatif: "+237"
}});
})
@ -529,7 +529,7 @@ export default class CreateUserStep2 extends Component {
town = resultTowwn;
this.setState({town: {
name: "Douala",
id: "38",
id: "2",
indicatif: "+237"
}});
});
@ -1192,7 +1192,7 @@ export default class CreateUserStep2 extends Component {
// data['town'] = this.state.town;
data['town'] = {
name: "Douala",
id: "38",
id: "2",
indicatif: "+237"
}

View File

@ -1,5 +1,5 @@
{
"WELCOME": "مرحبًا بكم في iLink World!",
"WELCOME": "مرحبًا بكم في SIM_ba!",
"HELP": "مساعدة",
"SIMPLE_USER": "مستخدم بسيط",
"GEOLOCATED_USER": "الموقع الجغرافي المستخدم",
@ -209,8 +209,8 @@
"MEMBERSHIP_REQUEST": "طلبات العضوية",
"HISTORY_TYPE_REQUEST": "استعلامات",
"TREAT": "معاهدة",
"EXIT_TITLE": "أغلق iLink World!",
"EXIT_DESC": "هل تريد حقًا إغلاق iLink World؟",
"EXIT_TITLE": "أغلق SIM_ba!",
"EXIT_DESC": "هل تريد حقًا إغلاق SIM_ba؟",
"NO_TREAT": "غير معالج",
"EXIT": "أغلق",
"PERIOD": "فترة",
@ -223,7 +223,7 @@
"ACCOUNT_ACTIVATE_TEXT": "تم تنشيط حسابك بنجاح!",
"HISTORY_END": "النهاية",
"DONT_VALIDATE_ACCOUNT": "الحساب لم يتم التحقق منه",
"CONNECTION_SUCCESSFULL_TEXT": "تسجيل دخول ناجح مرحبًا بك في iLink World!",
"CONNECTION_SUCCESSFULL_TEXT": "تسجيل دخول ناجح مرحبًا بك في SIM_ba!",
"UNVALIDATE_ACCOUNT_TEXT": "لم يدقق برنامج Hypervisor في حسابك بعد",
"TEXT_NEED_POSITION": "الرجاء تحديث موقعك!",
"TITLE_NEED_POSITION": "يلزم تحديث موقعك",
@ -234,18 +234,18 @@
"TEXT_UPDATE_POSITION_FAILED_2": "غير قادر على استعادة موقعك",
"TITLE_ERROR_SURVENU": "لقد حدث خطأ!",
"TITLE_PROBLE_COME": "حدثت مشكلة",
"TEXT_ERROR_START_APPLICATION": "حدث خطأ أثناء بدء iLink World ، يرجى إعادة تشغيل iLink World",
"TEXT_UNABLE_TO_GET_YOUR_POSITION": "غير قادر على استعادة موقعك ، يرجى التأكد من تمكين GPS الخاص بك وإعادة تشغيل iLink World",
"TEXT_ERROR_START_APPLICATION": "حدث خطأ أثناء بدء SIM_ba ، يرجى إعادة تشغيل SIM_ba",
"TEXT_UNABLE_TO_GET_YOUR_POSITION": "غير قادر على استعادة موقعك ، يرجى التأكد من تمكين GPS الخاص بك وإعادة تشغيل SIM_ba",
"RESTART": "كرر",
"TEXT_UNABLE_TO_GET_COUNTRY_INFO": "غير قادر على استرداد المعلومات من بلدك. تحقق من اتصالك بالإنترنت. انقر فوق موافق للمحاولة مرة أخرى.",
"TITLE_UNABLE_TO_AUTORISE": "فشل التفويض",
"MISSING_AUTORISATION_LOCATION": "iLink World غير مخول للوصول إلى موقعك ، يرجى السماح لـ iLink World بالوصول إلى موقعك وإعادة تشغيل iLink World",
"MISSING_AUTORISATION_LOCATION": "SIM_ba غير مخول للوصول إلى موقعك ، يرجى السماح لـ SIM_ba بالوصول إلى موقعك وإعادة تشغيل SIM_ba",
"TEXT_FORGOTTEN_PASSWORD": "أدخل اسم المستخدم الخاص بك ، وسنرسل لك كلمة مرور جديدة",
"TEXT_NETWORK_UNABLE": "الشبكة غير متوفرة ، هل تريد المحاولة مرة أخرى؟",
"LOADING_TEXT_MARKERS": "المزيد من النقاط",
"LOADING_TEXT_MARKERS_2": "around،",
"UNABLE_GET_INFORMATION": "مشكلة استرجاع المعلومات",
"UNABLE_GET_INFORMATION_TEXT": "تأكد من تشغيل GPS ووضعه في وضع الدقة العالية وإعادة تشغيل iLink World",
"UNABLE_GET_INFORMATION_TEXT": "تأكد من تشغيل GPS ووضعه في وضع الدقة العالية وإعادة تشغيل SIM_ba",
"ACCOUNT_CREATED_SUCCESS": "تم إنشاء الحساب بنجاح. سوف تتلقى في بضع دقائق رسالة بريد إلكتروني ورسالة نصية تحتوي على معلوماتك. سنقوم بإعادة توجيهك إلى صفحة تسجيل الدخول",
"TITLE_HELP_SOON": "مساعدة غير متوفرة!",
"HELP_SOON": "سيكون هناك برنامج تعليمي يساعدك في فهم ميزات التطبيق قريبًا."

View File

@ -1,5 +1,5 @@
{
"WELCOME": "Welcome to iLink World !",
"WELCOME": "Welcome to SIM_ba !",
"WAITING_LONG": "Waiting for a moment",
"HELP": "Help",
"SIMPLE_USER": "Simple User",
@ -13,6 +13,7 @@
"THE_AGENT": "Agent",
"USER": "User",
"HYPERVISOR": "Hypervisor",
"YOU_HAVE": "You have",
"OPEN": "Open",
"POSITION": "My position",
"TAKE_MY_PLACE": "Take my position",
@ -34,25 +35,18 @@
"ASK_FOR_SUPERVISOR1": "Ask to become a supervisor",
"CREDIT_ASK_FROM_MEMBERS": "Credit requests from your members",
"ASK_MEMBERS": "Membership applications",
"MY_ACCOUNT": "My account",
"WALLET": "Wallet",
"AMOUNT_LABEL": "Amount",
"AMOUNT_LABEL_DESCRIPTION": "Please enter the amount",
"DESTINATAIRE": "Recipient",
"ERROR_LABEL": "Error",
"NO_BANK_AVAILABLE": "No bank available",
"BANK_LIST": "Bank list",
"NO_OPERATOR_AVAILABLE": "No operator available",
"ENTER_VALID_AMOUNT": "Enter a valid amount",
"ENTER_AMOUNT_SUPERIOR_ZEROR": "Enter amount superior to zero",
"AMOUNT_SUPERIOR_TO_PRINCIPAL_ACCOUNT": "Amount greater than that of the agent's main account",
"PAYMENT_DONE": "Payment done",
"PAYMENT_ERROR": "Payment error",
"MAKE_DEPOSIT": "Make a deposit",
"MAKE_WITHDRAWAL": "Make withdrawal",
"WITHDRAWAL_TYPE": "Withdrawal mode",
"DEPOSIT_DESCRIPTION": "Make a deposit",
"ERROR_TRANSFER": "Transfer error",
"SUCCESS_TRANSFER": "Transfer done",
"WITHDRAWAL_SUCCESS": "Withdrawal done",
"WITHDRAWAL_ERROR": "Withdrawal error",
"WALLET_TO_WALLET_SUCCESS_TRANSFER": "Wallet to wallet transfer successfully completed",
"DEPOSIT_SUCCESS": "Deposit done successfully",
"SUCCESS": "Success",
"ETAT": "State",
"MY_ACCOUNT": "My account",
"WALLET": "Wallet",
"DEPOSIT": "Deposit",
"EN_ATTENTE_DE_VALIDATION": "Waiting for validation",
"REMBOURSE": "Reimbursed",
@ -62,8 +56,17 @@
"RETRAIT_ARGENT": "Receive money",
"CONFIRM_DEPOSIT": "Confirm deposit",
"CONFIRM_WITHDRAWAL": "Confirm withdrawal",
"CHANGE_SOURCE_CARD": "Change the type of entry number",
"ENTER_VALID_AMOUNT": "Enter a valid amount",
"ENTER_AMOUNT_SUPERIOR_ZEROR": "Enter amount superior to zero",
"AMOUNT_SUPERIOR_TO_PRINCIPAL_ACCOUNT": "Amount greater than that of the agent's main account",
"ENTER_VALID_SERIAL_NUMBER": "Please enter the correct serial number",
"MAKE_DEPOSIT": "Make a deposit",
"MAKE_WITHDRAWAL": "Make withdrawal",
"WITHDRAWAL_TYPE": "Withdrawal mode",
"PAYMENT_DONE": "Payment done",
"PAYMENT_ERROR": "Payment error",
"CHOOSE_SOURCE": "Choose source",
"CHANGE_SOURCE_CARD": "Change the type of entry number",
"CREDIT_CARD": "Credit card",
"CREDIT_ACCOUNT": "Credit account",
"SAVINGS_ACCOUNT": "Saving account",
@ -77,15 +80,18 @@
"CARD_EXPIRY_LABEL": "Expiry.",
"CARD_CVC_LABEL": "CVC/CCV",
"CVC_CARD_ERROR": "CVC card error format",
"DEPOSIT_DESCRIPTION": "Make a deposit",
"ERROR_TRANSFER": "Transfer error",
"SUCCESS_TRANSFER": "Transfer done",
"WITHDRAWAL_SUCCESS": "Withdrawal done",
"WITHDRAWAL_ERROR": "Withdrawal error",
"WALLET_TO_WALLET_SUCCESS_TRANSFER": "Wallet to wallet transfer successfully completed",
"THIS_FIELD_IS_REQUIRED": "This field is required",
"PLEASE_ENTER_THE_AMOUNT": "Please enter the amount",
"CHOOSE_OPTION": "Please choose an option",
"CHOOSE_OPERATOR": "Please choose an operator",
"EXPIRY_CARD_ERROR": "Date incorrect",
"CARD_NUMBER_ERROR": "Card number incorrect",
"AMOUNT_LABEL": "Amount",
"AMOUNT_LABEL_DESCRIPTION": "Please enter the amount",
"DESTINATAIRE": "Recipient",
"WITHDRAWAL": "Withdrawal",
"LINK_CARD": "Link my card",
"LINK_CARD_REATTACH": "Link | Reattach",
@ -137,16 +143,21 @@
"QUARTIER_COMMUNE": "Neighborhood in the town",
"ARRONDISSEMENT": "Borough",
"PATENTE": "Patent",
"TVA": "TVA",
"TVA": "VAT",
"IRPP": "IRPP",
"ANNEE_TAXE": "Paid year taxed",
"ANNEE_TAXE_N": "Paid year taxed N",
"ANNEE_TAXE_N_1": "Année taxé payée N-1",
"ANNEE_TAXE_N_2": "Année taxé payée N-2",
"TYPE_ACTIVITE": "Type d'activité",
"TECHNICAL_AGREMENT": "Technical approval or license",
"IMMATRICULATION_DGI": "UIN",
"INFORMATION_FICHE_CIRCUIT": "Identification sheet",
"OTHERS_INFORMATIONS": "Other information",
"SUCCESS_CREATION_GROUP": "Creation information",
"ERROR_CREATION_GROUP": "Creation error",
"ERROR_JOIN_GROUP": "Join error",
"SUCCES_JOIN_GROUP": "Group join success",
"CREATE_GROUP": "Create group",
"MANAGE_GROUP": "Manage group",
"VALIDATION_DEMAND": "Validation request",
@ -234,7 +245,6 @@
"COMMISSION_TRANSFER_ERROR_EMPTY": "The commission balance is empty",
"CONFIRM": "Confirm",
"CONFIRM_TRANSFER_COMMISSION": "Confirm commission transfer",
"CREATION_DATE": "Creation date",
"PRINCIPAL_ACCOUNT_TITLE": "Principal account",
"NUMERO_COMPTE": "Account number",
"NO_WALLET_ACTIVED": "No wallet is activated for your account",
@ -405,10 +415,6 @@
"CANCEL_LABEL": "Cancel",
"SUBMIT_LABEL": "Submit",
"PHISIC_SECURITY": "Physic security",
"ERROR_LABEL": "Error",
"SUCCESS": "Success",
"ETAT": "State",
"DEPOSIT_SUCCESS": "Deposit done successfully",
"TEXT_GUIDE_USER_1": "You have just connected.\n Your location is marked in the center of the map with the indication \"You are here\" ",
"TEXT_GUIDE_USER_3": "Clicking the '+' button will open the options menu",
"TEXT_GUIDE_USER_4": "Click on a marker to get the information on a point",
@ -452,7 +458,6 @@
"CHOOSE_LANGUAGE": "Choose the language",
"MODIFY_PASSWORD": "Forgotten password",
"CONTACT": "Contact",
"UPDATE": "... update",
"FAQ": "FAQ",
"UPDATE_POSITION_TEXT": "Update my position",
"YOU_ARE": "Are you?",
@ -516,11 +521,13 @@
"HISTORY_TYPE": "Type",
"HISTORY_TYPE_ASK": "Requests",
"REQUEST_RECEIVE": "Requests received",
"DEMANDE_RECEIVE": "Request received",
"MY_DEMANDE": "My requests",
"PHONE_TRANSACTION": "Transaction number",
"DEMAND_TEXT_FIRST_PART": "made a request for",
"DEMAND_TEXT_FIRST_PART_YOU": "You made a request for ",
"REQUEST_SEND": "Request Sent",
"DEMANDE_SEND": "Request sent",
"DEMAND_RECEIVE": "Requests received",
"DEMAND_VALIDATION_GROUP_RECEIVE": "Validation requests",
"DEMAND_DELETE_GROUP_RECEIVE": "Removal requests",
@ -539,8 +546,8 @@
"MEMBERSHIP_REQUEST": "Membership applications",
"HISTORY_TYPE_REQUEST": "Queries",
"TREAT": "Processed",
"EXIT_TITLE": "Close iLink World!",
"EXIT_DESC": "Do you really want to close iLink World?",
"EXIT_TITLE": "Close SIM_ba!",
"EXIT_DESC": "Do you really want to close SIM_ba?",
"NO_TREAT": "Unprocessed",
"EXIT": "Close",
"PERIOD": "Period",
@ -553,7 +560,7 @@
"ACCOUNT_ACTIVATE_TEXT": "Your account has been activated successfully!",
"HISTORY_END": "End",
"DONT_VALIDATE_ACCOUNT": "Account not validated",
"CONNEXION_SUCCESSFULL_TEXT": "Successful login Welcome to iLink World!",
"CONNEXION_SUCCESSFULL_TEXT": "Successful login Welcome to SIM_ba!",
"UNVALIDATE_ACCOUNT_TEXT": "Your hypervisor has not yet verified your account",
"TEXT_NEED_POSITION": "Please update your location!",
"TITLE_NEED_POSITION": "Your location needs to be updated",
@ -566,12 +573,12 @@
"TITLE_PROBLE_COME": "A problem has been encountered",
"TITLE_SUPPRESS_CONFIRM": "Confirm deletion",
"TEXT_SUPPRESS_CONFIRM": "Do you really want to delete this user ?",
"TEXT_ERROR_START_APPLICATION": "An error occurred while starting iLink World, please restart iLink World",
"TEXT_UNABLE_TO_GET_YOUR_POSITION": "Unable to retrieve your location, please make sure your GPS is enabled and restart iLink World",
"TEXT_ERROR_START_APPLICATION": "An error occurred while starting SIM_ba, please restart SIM_ba",
"TEXT_UNABLE_TO_GET_YOUR_POSITION": "Unable to retrieve your location, please make sure your GPS is enabled and restart SIM_ba",
"RESTART": "REPEAT",
"TEXT_UNABLE_TO_GET_COUNTRY_INFO": "Unable to retrieve information from your country, check your internet connection, click \" Ok \"to try again,",
"TITLE_UNABLE_TO_AUTORISE": "Failed to Authorize",
"MISSING_AUTORISATION_LOCATION": "iLink World is not authorized to access your location, please allow iLink World to access your location and restart iLink World",
"MISSING_AUTORISATION_LOCATION": "SIM_ba is not authorized to access your location, please allow SIM_ba to access your location and restart SIM_ba",
"TEXT_FORGOTTEN_PASSWORD": "Enter your username, we will send you a new password",
"TEXT_NETWORK_UNABLE": "Network not available, want to try again?",
"LOADING_TEXT_MARKERS": "More points",
@ -580,7 +587,7 @@
"NO_POINT_FOUND": "No points found ",
"LAUNCH_POINT_WITH_FILTER": "Do you want to restart the search within a radius of ",
"UNABLE_GET_INFORMATION": "Problem of retrieval of information",
"UNABLE_GET_INFORMATION_TEXT": "Make sure your GPS is turned on and put in high precision mode and restart iLink World",
"UNABLE_GET_INFORMATION_TEXT": "Make sure your GPS is turned on and put in high precision mode and restart SIM_ba",
"TITLE_HELP_SOON": "Help not available!",
"YOUR_NETWORK": "Select your network",
"YOUR_NETWORK_SELECTED": "Your network",
@ -607,7 +614,7 @@
"NUMERO_QUITANCE_SUCCES": "Successful receipt number",
"ORDRE_RECETTE_MODIFY_SUCCES": "Recipe order number successfully changed",
"NUMERO_QUITANCE_MODIFY_SUCCES": "Receipt number changed successfully",
"TAXES_SUR_LA_PROPRETE": "Tax on cleanliness",
"TAXES_SUR_LA_PROPRETE": "Synthetic general tax *",
"SAVE": "Save",
"TEXT_SUPPRESS_CONFIRM_TAXE": "Are you sure you want to remove this tax?",
"NUMERO_QUITANCE": "Receipt number",
@ -615,7 +622,6 @@
"ORDRE_DE_RECETTE": "Recipe order",
"MODIFY_ORDRE_DE_RECETTE": "Change recipe order",
"ORDRE_DE_RECETTE_NUMBER": "Recipe order number",
"ORDRE_RECETTE_SUCCES": "Recipe order successfully changed",
"RECEIPT_NUMBER": "Receipt number",
"NUMBER": "Number",
"ACTION": "Action",
@ -634,12 +640,10 @@
"PAYMENT_DEADLINE": "Payment deadline",
"TAX_NOTICE_CREATED_AT": "Tax notice created at",
"TOTAL_AMOUNT": "Total amount",
"UPDATE_DATE": "Update date",
"YEAR": "Year",
"TYPE": "Type",
"CODE_MEMBRE": "Sponsor code",
"DISTRICT": "District",
"IDENTIFICATION_NUMBER": "Identification number",
"MUNICIPALITY": "Municipality",
"ID_PATENTE": "ID patent",
"NETWORK_ID": "Network ID",
@ -652,7 +656,7 @@
"PRINCIPAL_AMOUNT": "Principal amount",
"DATE_AVIS_IMPOSITION": "Tax notice date",
"TEXT_NETWORK_UNABLE_CHOOSE_ANOTHER": "This network is inactive, please choose another",
"ENTER_SPONSOR_CODE": "Renseignez votre code hiérarchique ou taxe",
"ENTER_SPONSOR_CODE": "Enter your hierarchical code or tax",
"NOM_SOCIETE": "Society name",
"TAKE_My_POSITION": "Retreive position",
"CREATE_ACTIF": "Create asset",
@ -693,6 +697,7 @@
"PENALITE_ON_TAXE": "Penalty on taxes",
"PENALITE_MANAGE": "Penalty management",
"PENALITE": "Penalty",
"PENALITES": "Penalty",
"NO_PENALITE": "No penality",
"MODIFY_PENALITE": "Modify penality",
"DELETE_PENALITE": "Delete penality",
@ -700,10 +705,12 @@
"TAUX_PENALITE": "Penalty rate (%)",
"TAUX": "Rate",
"NO_ORDRE_RECETTE_WITH_QUITANCE": "No recipe order with tax notice",
"SAVE_PENALITY": "Penalty saved",
"SAISIE_PENALITY": "Entering penalties",
"MODIFICATION_SAISIE_PENALITY": "Modification/Deletion",
"YOU_HAVE_DEFINED_PENALITY_FOR_THIS_YEAR": "You have already set a penalty for the following year(s)",
"AMOUNT_ORDRE_RECETTE": "Revenue order amount",
"AMOUNT_TAX_NOTICE": "Tax Notice Amount",
"YOU_CANT_DELETE_LAST_TAX_NOTICE": "A discharge must contain at least one receipt order",
"WOULD_YOU_WANT_SEARCH_BY_NAME": "Would you want to make search by name ?",
"USAGER_NAME": "User name",
@ -713,5 +720,41 @@
"BY_QR_CODE": "By QR Code",
"SCAN": "Scan",
"BRING_YOUR_CAMERA_CLOSER_TO_SCAN_QR_CODE": "Bring your camera closer to the QR Code to scan it",
"LOADING_CREDIT_TRANSFER": "Credit transfert in progress..."
"CLOSE": "Close",
"NUMBER_OF_DAYS": "Number of days",
"NUMBER_OF_DAYS_INCORRECT": "The number of days must be between 1 and 366",
"PENALITE_INCLUSE": "Penalty included",
"SOINS": "Care",
"INVOICE": "Invoice",
"ORDRE_RECETTE_QUITANCE": "Order and receipt",
"ID": "ID",
"CONNEXION_CHOICE": "Choice of connection",
"CONNEXION_CHOICE_DESCRIPTION": "A recharge agent account is associated to your number. Would you like to continue as a recharge agent?",
"AGENTS_RECHARGE": "Refill agents",
"LOADING_CREDIT_TRANSFER": "Credit transfert in progress...",
"MOBILE_MONEY": "Mobile Money",
"PAYMENT_METHOD": "Payment Method",
"PAYMENT": "Payment",
"AVIS_NON_EMIS": "Notice Not Issued",
"PAYMENT_COULD_NOT_MADE": "The payment could not be made",
"CASH": "Cash",
"HIERACHIC_CODE": "Hierachic code",
"HIERACHIC_CODE_DESCRIPTION": "Code entered when creating a tax administrator or registrar",
"TAX_CODE": "Tax code",
"TAX_CODE_DESCRIPTION": "Code entered when creating a taxpayer",
"FIND_A_NEIGHBORHOOD": "Find a neighborhood *",
"WHATS_YOUR_BUSINESS": "What's your business? *",
"ID_CARD_NUMBER": "ID Card Number",
"BIRTH_DATE": "Date of Birth *",
"BIRTH_PLACE": "Place of Birth *",
"BIRTH_COUNTRY": "Country of Birth *",
"NATIONALITY_FORM": "Nationality *",
"MOTHER_LASTNAME": "Mother's Last Name *",
"MOTHER_FIRSTNAME": "Mother's First Name",
"FATHER_LASTNAME": "Father's Last Name *",
"FATHER_FIRSTNAME": "Father's First Name",
"SIGNBOARD": "Acronym *",
"CREATION_DATE": "Creation Date",
"TECHNICAL_APPROVAL": "Technical Approval",
"TRADE_LICENSE": "Business License"
}

View File

@ -134,7 +134,6 @@
"TAXE": "Taxe",
"INTERET": "Intérêt",
"SOCIETY_TYPE": "Type de société",
"IDENTIFICATION_NUMBER": "Numéro d'identification",
"REGISTRE_COMMERCE": "Registre de commerce",
"NOM_RESPONSABLE": "Nom du responsable",
"COMMUNE_SIEGE_SOCIAL": "Commune du siège social",
@ -258,7 +257,6 @@
"NO_WALLET_ACTIVED": "Aucun wallet n'est activé pour votre compte",
"TRANSFER_TO_PRINCIPAL_ACCOUNT": "Transférer commissions",
"PRINCIPAL": "Principal",
"CREATION_DATE": "Date de création",
"ENTER_YOUR_CARD_ID": "Entrer vos identifiants bancaires",
"THE_ACCOUNT": "Le compte ",
"NO_GEO_POINT_CODE": "Vous n'avez aucun point geolocalisé libre",
@ -307,7 +305,7 @@
"CREDIT": "Crédit",
"NEXT": "Suivant",
"PREVIOUS": "Précédent",
"SPONSOR_CODE": "Code réseau de taxe",
"SPONSOR_CODE": "Code classe de taxes",
"CODE_PARRAIN": "Code hiérarchique ou taxe",
"CODE_SPONSOR": "Code sponsor",
"SOLDE_UNVAIBLE": "solde non disponible",
@ -426,7 +424,7 @@
"TEXT_GUIDE_USER_11": "Cliquez sur l'option de profil pour avoir des informations lier à votre compte",
"CATEGORY": "Catégorie",
"WAY": "Itinéraire",
"ADD_NETWORK": "Ajouter réseau de taxe",
"ADD_NETWORK": "Ajouter une classe de taxes",
"POINT_NUMBER": "Nombres de points",
"SUPERIOR_CODE": "Code hiérarchique ou taxe",
"ADD_SUCCES": "Ajout reussi",
@ -523,11 +521,13 @@
"HISTORY_TYPE": "Type",
"INVALID_MONTANT": "Montant invalide",
"HISTORY_TYPE_ASK": "Demandes",
"REQUEST_RECEIVE": "Demande reçue",
"DEMANDE_RECEIVE": "Demandes reçues",
"MY_DEMANDE": "Mes demandes",
"PHONE_TRANSACTION": "Numéro de transaction",
"DEMAND_TEXT_FIRST_PART": "a effectué une demande de ",
"DEMAND_TEXT_FIRST_PART_YOU": "Vous avez effectué une demande de ",
"REQUEST_SEND": "Demande envoyée",
"DEMANDE_SEND": " Demande Envoyée",
"DEMAND_RECEIVE": "Demandes reçues",
"DEMAND_VALIDATION_GROUP_RECEIVE": "Demandes de validation",
@ -601,23 +601,21 @@
"ORDRE_RECETTE": "Ordre recette",
"NO_ORDRE_RECETTE": "Aucun ordre de recette",
"MODIFICATION_ORDRE_RECETTE": "Modifier ordre recette",
"SAISIE_NUMERO_QUITANCE": "Saisir numéro quitance",
"MODIFICATION_NUMERO_QUITANCE": "Modifier numéro quitance",
"SAISIR_QUITANCE": "Saisir quitance",
"SAISIE_NUMERO_QUITANCE": "Saisir numéro quittance",
"MODIFICATION_NUMERO_QUITANCE": "Modifier numéro quittance",
"SAISIR_QUITANCE": "Saisir paiement ou quittance",
"CODE_AGENT": "Code agent ",
"AVIS_IMPOSITION": "Déclaration",
"AGENT_INFORMATION": "Informations sur l'agent",
"UPDATE_DATE": "Date de mis à jour",
"ASSIGN_TO_AGENT": "Assigner à un agent",
"AVIS_MODIFY_SUCCESS": "Avis modifié avec succès",
"ORDRE_RECETTE_SUCCES": "Ordre de recette saisi avec succès",
"NUMERO_QUITANCE_SUCCES": "Numéro de quitance enregistré avec succès",
"NUMERO_QUITANCE_SUCCES": "Numéro de quittance 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": "Taxe sur la propreté",
"NUMERO_QUITANCE_MODIFY_SUCCES": "Numéro de quittance modifié avec succès",
"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",
"NUMERO_QUITANCE": "Numéro quittance",
"QUITANCE": "Quitance",
"ORDRE_DE_RECETTE": "Ordre de recette",
"MODIFY_ORDRE_DE_RECETTE": "Modifier ordre de recette",
@ -626,7 +624,6 @@
"RECEIPT_NUMBER": "Numéro de reçu",
"NUMBER": "Numéro",
"ACTION": "Action",
"UPDATE": "Mis à jour",
"ADD": "Ajout",
"ID_REVENUE_ORDRE": "ID ordre de recette",
"ID_SUPER": "ID superviseur",
@ -651,7 +648,7 @@
"ID_PATENTE": "ID patente",
"NETWORK_ID": "ID du réseau",
"NEIGHTBORHOOD": "Quartier",
"ORDRE_RECETTE_RECEIPT": "Recette et quitance",
"ORDRE_RECETTE_RECEIPT": "Recette et quittance",
"HISTORY_OF": "Historique des",
"AVIS_IMPOSITIONS": "déclarations",
"ORDRE_RECETTES_RECEIPTS": "recettes et quitances",
@ -695,7 +692,6 @@
"ACTIF": "actif",
"ACTIFS": "actifs",
"TAXE_INFORMATION": "Informations sur la déclaration",
"ACTIFS": "actifs",
"NUMERO_AVIS_IMPOSITION": "N° déclaration",
"ADD_ORDRE_RECETTE": "Ajouter un ordre de recette",
"PENALITE_ON_TAXE": "Pénalité sur les taxes",
@ -708,14 +704,14 @@
"DELETE_PENALITE": "Supprimer la pénalité",
"TAUX_PENALITE": "Taux de pénalité (%)",
"TAUX": "Taux",
"NO_ORDRE_RECETTE_WITH_QUITANCE": "Aucun ordre de recette sans quitance",
"NO_ORDRE_RECETTE_WITH_QUITANCE": "Aucun ordre de recette sans quittance",
"SAVE_PENALITY": "Taux",
"SAISIE_PENALITY": "Saisie des pénalités",
"MODIFICATION_SAISIE_PENALITY": "Modification/Suppression",
"YOU_HAVE_DEFINED_PENALITY_FOR_THIS_YEAR": "Vous avez déjà définit une pénalité pour les années suivantes:",
"AMOUNT_ORDRE_RECETTE": "Montant de l'ordre de recette",
"AMOUNT_TAX_NOTICE": "Montant de la déclaration",
"YOU_CANT_DELETE_LAST_TAX_NOTICE": "Une quitance doit contenir au moins un ordre de recette",
"YOU_CANT_DELETE_LAST_TAX_NOTICE": "Une quittance doit contenir au moins un ordre de recette",
"WOULD_YOU_WANT_SEARCH_BY_NAME": "Voulez-vous rechercher l'usager par son nom ?",
"USAGER_NAME": "Nom de l'usager",
"NO_USAGER_CORRESPONDING_TO_SEARCH": "Aucun usager ne correspond à votre recherche",
@ -730,7 +726,7 @@
"PENALITE_INCLUSE": "Pénalité incluse",
"SOINS": "Soins",
"INVOICE": "Facture",
"ORDRE_RECETTE_QUITANCE": "Ordre et quitance",
"ORDRE_RECETTE_QUITANCE": "Ordre et quittance",
"ID": "ID",
"CONNEXION_CHOICE": "Choix de connexion",
"CONNEXION_CHOICE_DESCRIPTION": "Un compte agent de recharge est associé à votre numéro. Voulez vous continuer en tant que agent recharge ?",
@ -741,5 +737,24 @@
"PAYMENT": "Paiement",
"AVIS_NON_EMIS": "Avis non émis",
"PAYMENT_COULD_NOT_MADE": "Le paiement n'a pas pu être effectué",
"CASH": "Cash"
"CASH": "Cash",
"HIERACHIC_CODE": "Code hiérarchique",
"HIERACHIC_CODE_DESCRIPTION": "Code entré lors de la création d'un administrateur de taxe ou d'un régisseur",
"TAX_CODE": "Code taxe",
"TAX_CODE_DESCRIPTION": "Code entré lors de la création d'un contribuable",
"FIND_A_NEIGHBORHOOD": "Rechercher un quartier *",
"WHATS_YOUR_BUSINESS": "Quelle est votre activité *",
"ID_CARD_NUMBER": "Numéro de la CNI",
"BIRTH_DATE": "Date de naissance *",
"BIRTH_PLACE": "Lieu de naissance *",
"BIRTH_COUNTRY": "Pays de naissance *",
"NATIONALITY_FORM": "Nationalité *",
"MOTHER_LASTNAME": "Nom de la mère *",
"MOTHER_FIRSTNAME": "Prénom de la mère",
"FATHER_LASTNAME": "Nom du père *",
"FATHER_FIRSTNAME": "Prénom du père",
"SIGNBOARD": "Sigle *",
"CREATION_DATE": "Date de création",
"TECHNICAL_APPROVAL": "Agrément technique",
"TRADE_LICENSE": "Patente"
}

View File

@ -5,7 +5,8 @@ import I18n from 'react-native-i18n'
import {readUser} from './AuthApi'
import {isDebugMode, MARKER_URL, mobileAppVersion, opencageDataApiUrl} from "./IlinkConstants";
let GEOCODDING_URL = "https://test-city.ilink-app.com:8081/geocode";
// let GEOCODDING_URL = "https://test-city.ilink-app.com:8081/geocode";
let GEOCODDING_URL = "https://test-cud.ilink-app.com:9081/geocode";
let API_KEY = "AIzaSyAme0ZMQjUynvo6AeSVlMRzUPdcOSuPbZE"
export const getLocalMarkers = () => {
return db.markers.get_all()