Succefull building the assemblyRelease
After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 179 KiB After Width: | Height: | Size: 166 KiB |
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 189 KiB |
|
@ -577,7 +577,7 @@ class CreateUserStep extends Component {
|
||||||
renderRequiredTaxesDropdown = (item, index) => {
|
renderRequiredTaxesDropdown = (item, index) => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Animatable.View key={index}>
|
{/* <Animatable.View key={index}>
|
||||||
<View
|
<View
|
||||||
style={{
|
style={{
|
||||||
marginTop: 20,
|
marginTop: 20,
|
||||||
|
@ -607,7 +607,7 @@ class CreateUserStep extends Component {
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
</Animatable.View>
|
</Animatable.View> */}
|
||||||
{
|
{
|
||||||
item.measurement_unit !== "forfait" &&
|
item.measurement_unit !== "forfait" &&
|
||||||
<>
|
<>
|
||||||
|
@ -1360,7 +1360,7 @@ handleTaxSlection = (selectedTax) => {
|
||||||
<Animatable.View ref={(comp) => {
|
<Animatable.View ref={(comp) => {
|
||||||
this.ProprierteTypeAnim = comp
|
this.ProprierteTypeAnim = comp
|
||||||
}} >
|
}} >
|
||||||
<View
|
{/* <View
|
||||||
style={{
|
style={{
|
||||||
marginTop: 20,
|
marginTop: 20,
|
||||||
flexDirection: "row",
|
flexDirection: "row",
|
||||||
|
@ -1376,31 +1376,18 @@ handleTaxSlection = (selectedTax) => {
|
||||||
}}>
|
}}>
|
||||||
<Dropdown
|
<Dropdown
|
||||||
label={I18n.t('TAXES_SUR_LA_PROPRETE')}
|
label={I18n.t('TAXES_SUR_LA_PROPRETE')}
|
||||||
//disabled={true}
|
|
||||||
data={this.state.required_taxes}
|
data={this.state.required_taxes}
|
||||||
useNativeDriver={true}
|
useNativeDriver={true}
|
||||||
valueExtractor={(value) => {
|
valueExtractor={(value) => {
|
||||||
return value
|
return value
|
||||||
}}
|
}}
|
||||||
//value={item.name}
|
|
||||||
labelExtractor={(value) => {
|
labelExtractor={(value) => {
|
||||||
return value.name
|
return value.name
|
||||||
}}
|
}}
|
||||||
onChangeText={this.handleTaxSlection}
|
onChangeText={this.handleTaxSlection}
|
||||||
// onChangeText={(value) => {
|
|
||||||
|
|
||||||
// let tax_units_count = this.state.required_taxes;
|
|
||||||
// if (value === "")
|
|
||||||
// tax_units_count[index].tax_units_count = null;
|
|
||||||
// else
|
|
||||||
// tax_units_count[index].tax_units_count = value;
|
|
||||||
// this.setState({required_taxes: tax_units_count});
|
|
||||||
// }}
|
|
||||||
|
|
||||||
|
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View> */}
|
||||||
</Animatable.View>
|
</Animatable.View>
|
||||||
|
|
||||||
) : (
|
) : (
|
||||||
|
@ -1921,6 +1908,7 @@ handleTaxSlection = (selectedTax) => {
|
||||||
checkUserGeolocated() {
|
checkUserGeolocated() {
|
||||||
let {myPosition, textaddress, place, indicatif, user, network, phone, phoneTransaction} = this.state;
|
let {myPosition, textaddress, place, indicatif, user, network, phone, phoneTransaction} = this.state;
|
||||||
this.setState({isLoading: true});
|
this.setState({isLoading: true});
|
||||||
|
console.log("this.state=========>>>>>>>",this.state)
|
||||||
|
|
||||||
if (this.state.isActif) {
|
if (this.state.isActif) {
|
||||||
let taxes_to_send = [];
|
let taxes_to_send = [];
|
||||||
|
@ -2233,7 +2221,8 @@ handleTaxSlection = (selectedTax) => {
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
createGeolocatedAccount(data).then((result) => {
|
createGeolocatedAccount(data).then((result) => {
|
||||||
console.log(result);
|
console.log('resulta==========>>>>>>>',result);
|
||||||
|
console.log('datass==========>>>>>>>',data);
|
||||||
if (result.success !== undefined && result.success === 1) {
|
if (result.success !== undefined && result.success === 1) {
|
||||||
const message = result.category === 'super' ? I18n.t("HYPERVISOR_MUST_VALIDATE_SUPERVISOR")
|
const message = result.category === 'super' ? I18n.t("HYPERVISOR_MUST_VALIDATE_SUPERVISOR")
|
||||||
: I18n.t("ACCOUNT_SUCCESSFULL_CREATED")
|
: I18n.t("ACCOUNT_SUCCESSFULL_CREATED")
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
import React, {Component, useState} from 'react';
|
import Button from 'apsl-react-native-button';
|
||||||
|
import axios from "axios";
|
||||||
|
import isEqual from 'lodash/isEqual';
|
||||||
|
import isNil from 'lodash/isNil';
|
||||||
|
import PropTypes from 'prop-types';
|
||||||
|
import React, { Component } from 'react';
|
||||||
import {
|
import {
|
||||||
Alert,
|
Alert,
|
||||||
BackHandler,
|
BackHandler,
|
||||||
|
@ -13,20 +18,22 @@ import {
|
||||||
TouchableOpacity,
|
TouchableOpacity,
|
||||||
View
|
View
|
||||||
} from 'react-native';
|
} from 'react-native';
|
||||||
import PropTypes from 'prop-types';
|
|
||||||
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 * as Animatable from 'react-native-animatable';
|
||||||
import Button from 'apsl-react-native-button';
|
import Dialog from "react-native-dialog";
|
||||||
|
import Geolocation from 'react-native-geolocation-service';
|
||||||
|
import I18n from 'react-native-i18n';
|
||||||
import MapView, { Marker } from 'react-native-maps';
|
import MapView, { Marker } from 'react-native-maps';
|
||||||
|
import { MaterialDialog } from "react-native-material-dialog";
|
||||||
import { Dropdown } from 'react-native-material-dropdown-v2';
|
import { Dropdown } from 'react-native-material-dropdown-v2';
|
||||||
import isEqual from 'lodash/isEqual';
|
import { responsiveHeight, responsiveWidth } from 'react-native-responsive-dimensions';
|
||||||
import isNil from 'lodash/isNil';
|
import { ProgressDialog } from "react-native-simple-dialogs";
|
||||||
import {getPositionInformation} from './../../webservice/MapService';
|
import { Fumi } from 'react-native-textinput-effects';
|
||||||
import I18n from 'react-native-i18n'
|
|
||||||
import { material } from 'react-native-typography';
|
import { material } from 'react-native-typography';
|
||||||
|
import FontAwesomeIcon from 'react-native-vector-icons/FontAwesome';
|
||||||
import Icon from 'react-native-vector-icons/MaterialCommunityIcons';
|
import Icon from 'react-native-vector-icons/MaterialCommunityIcons';
|
||||||
|
import { store } from "../../redux/store";
|
||||||
|
import { getDefaultTown } from "../../webservice/AuthApi";
|
||||||
|
import { uploadImage } from "../../webservice/IlinkConstants";
|
||||||
import {
|
import {
|
||||||
createGeolocatedAccount,
|
createGeolocatedAccount,
|
||||||
createUserAccount,
|
createUserAccount,
|
||||||
|
@ -35,17 +42,7 @@ import {
|
||||||
getListCountriesActive,
|
getListCountriesActive,
|
||||||
getTownInformationName
|
getTownInformationName
|
||||||
} from './../../webservice/AuthApi';
|
} from './../../webservice/AuthApi';
|
||||||
import {MaterialDialog} from "react-native-material-dialog";
|
import { getPositionInformation } from './../../webservice/MapService';
|
||||||
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 {store} from "../../redux/store";
|
|
||||||
import axios from "axios";
|
|
||||||
import {uploadImage} from "../../webservice/IlinkConstants";
|
|
||||||
import {ProgressDialog} from "react-native-simple-dialogs";
|
|
||||||
import {getDefaultTown} from "../../webservice/AuthApi";
|
|
||||||
|
|
||||||
const GEOLOCATION_OPTIONS = {enableHighAccuracy: true, timeout: 20000, maximumAge: 1000, useSignificantChanges: true};
|
const GEOLOCATION_OPTIONS = {enableHighAccuracy: true, timeout: 20000, maximumAge: 1000, useSignificantChanges: true};
|
||||||
|
|
||||||
|
@ -313,6 +310,8 @@ export default class CreateUserStep2 extends Component {
|
||||||
if (jsonMatch) {
|
if (jsonMatch) {
|
||||||
countriesData = JSON.parse(jsonMatch[0]);
|
countriesData = JSON.parse(jsonMatch[0]);
|
||||||
}
|
}
|
||||||
|
}else{
|
||||||
|
countriesData = response;
|
||||||
}
|
}
|
||||||
|
|
||||||
const formattedCountries = countriesData.map(country => ({
|
const formattedCountries = countriesData.map(country => ({
|
||||||
|
|
|
@ -46,6 +46,8 @@
|
||||||
"GROUP_MEMBERS": "أعضاء المجموعة",
|
"GROUP_MEMBERS": "أعضاء المجموعة",
|
||||||
"NAME": "اسم العائلة (الأسماء)",
|
"NAME": "اسم العائلة (الأسماء)",
|
||||||
"FIRSTNAME": "الاسم الأول (الأسماء)",
|
"FIRSTNAME": "الاسم الأول (الأسماء)",
|
||||||
|
"CIVILITY": "المدينة",
|
||||||
|
"NATIONALITY": "الجنسية",
|
||||||
"ADMIN": "المسؤول",
|
"ADMIN": "المسؤول",
|
||||||
"SUPER_ADMIN": "مشرف سوبر",
|
"SUPER_ADMIN": "مشرف سوبر",
|
||||||
"GEOLOCATED": "الوكيل الجغرافي المحدد",
|
"GEOLOCATED": "الوكيل الجغرافي المحدد",
|
||||||
|
|
|
@ -276,6 +276,8 @@
|
||||||
"IMAGE_TAKE": "Image take",
|
"IMAGE_TAKE": "Image take",
|
||||||
"NAME": "Last name(s)",
|
"NAME": "Last name(s)",
|
||||||
"FIRSTNAME": "First name(s) ",
|
"FIRSTNAME": "First name(s) ",
|
||||||
|
"CIVILITY": "Civility",
|
||||||
|
"NATIONALITY": "Nationality",
|
||||||
"NAME_EMETTEUR": "Issuer first name(s)",
|
"NAME_EMETTEUR": "Issuer first name(s)",
|
||||||
"EMETTEUR": "Issuer",
|
"EMETTEUR": "Issuer",
|
||||||
"FIRSTNAME_EMETTEUR": "Issuer last name(s) ",
|
"FIRSTNAME_EMETTEUR": "Issuer last name(s) ",
|
||||||
|
|
|
@ -285,6 +285,8 @@
|
||||||
"IMAGE_TAKE": "Prise d'image",
|
"IMAGE_TAKE": "Prise d'image",
|
||||||
"NAME": "Nom(s)",
|
"NAME": "Nom(s)",
|
||||||
"FIRSTNAME": "Prénom(s) ",
|
"FIRSTNAME": "Prénom(s) ",
|
||||||
|
"CIVILITY": "Civilité",
|
||||||
|
"NATIONALITY": "Nationalité",
|
||||||
"NAME_EMETTEUR": "Nom(s) émetteur",
|
"NAME_EMETTEUR": "Nom(s) émetteur",
|
||||||
"EMETTEUR": "Emetteur",
|
"EMETTEUR": "Emetteur",
|
||||||
"FIRSTNAME_EMETTEUR": "Prénom(s) émetteur",
|
"FIRSTNAME_EMETTEUR": "Prénom(s) émetteur",
|
||||||
|
|
|
@ -23,6 +23,8 @@
|
||||||
"GROUP_MEMBERS": "小组成员",
|
"GROUP_MEMBERS": "小组成员",
|
||||||
"NAME": "名",
|
"NAME": "名",
|
||||||
"FIRSTNAME": "名字",
|
"FIRSTNAME": "名字",
|
||||||
|
"CIVILITY": "礼貌",
|
||||||
|
"NATIONALITY": "国籍",
|
||||||
"ADDRESS": "地址",
|
"ADDRESS": "地址",
|
||||||
"CREDIT": "信用",
|
"CREDIT": "信用",
|
||||||
"EMAIL": "电子邮件",
|
"EMAIL": "电子邮件",
|
||||||
|
|