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