Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
new_excelso
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Prasetya Saputra
new_excelso
Commits
3a4f40c2
Commit
3a4f40c2
authored
Jun 17, 2020
by
Wahyu Adjie Prasetyo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
translate delivery address
parent
2153547f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
DeliveryAddrees.js
view/DeliveryAddrees.js
+6
-7
No files found.
view/DeliveryAddrees.js
View file @
3a4f40c2
...
...
@@ -7,6 +7,7 @@ import Axios from 'axios';
import
ActionType
from
'../redux/globalActionType'
;
import
{
MaterialCommunityIcons
,
Ionicons
}
from
'@expo/vector-icons'
;
import
MyStatusBar
from
'./MyStatusBar'
;
import
i18n
from
'i18n-js'
;
// import ravLog from '../helper/debug';
...
...
@@ -197,9 +198,6 @@ class DeliveryAddrees extends React.Component {
})
// let recalculateProps = {
// order_total: 0,
// order_quantity:0,
...
...
@@ -237,7 +235,7 @@ class DeliveryAddrees extends React.Component {
/>
<
/View
>
<
View
>
<
Text
style
=
{{
textAlign
:
'center'
,
color
:
'#ccb46c'
,
fontFamily
:
'Gotham-Light'
,
marginRight
:
20
}}
>
PILIH
<
/Text
>
<
Text
style
=
{{
textAlign
:
'center'
,
color
:
'#ccb46c'
,
fontFamily
:
'Gotham-Light'
,
marginRight
:
20
}}
>
{
i18n
.
t
(
'selectaddress'
)}
<
/Text
>
<
/View
>
<
/View
>
...
...
@@ -266,7 +264,7 @@ class DeliveryAddrees extends React.Component {
<
MaterialCommunityIcons
name
=
"map-marker"
size
=
{
32
}
color
=
"#ccb46c"
/>
<
/View
>
<
View
style
=
{{
flex
:
6
}}
>
<
TextInput
style
=
{{
height
:
45
}}
placeholder
=
"Cari Alamat"
<
TextInput
style
=
{{
height
:
45
}}
placeholder
=
{
i18n
.
t
(
'searchaddress'
)}
onChangeText
=
{
text
=>
this
.
filterData
(
text
)}
onClear
=
{
text
=>
this
.
filterData
(
''
)}
value
=
{
this
.
state
.
search
}
><
/TextInput
>
...
...
@@ -278,7 +276,7 @@ class DeliveryAddrees extends React.Component {
<
View
style
=
{
styles
.
btn_addreess
}
>
<
TouchableOpacity
onPress
=
{()
=>
this
.
addAdreess
()}
>
<
View
style
=
{{
height
:
40
,
borderRadius
:
10
,
marginRight
:
70
,
marginLeft
:
70
,
backgroundColor
:
'#CFB368'
,
justifyContent
:
'center'
,
alignContent
:
'center'
}}
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
textAlign
:
'center'
,
color
:
'white'
,
fontSize
:
16
}}
>
Tambah
Alamat
<
/Text
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
textAlign
:
'center'
,
color
:
'white'
,
fontSize
:
16
}}
>
{
i18n
.
t
(
'addaddress'
)}
<
/Text
>
<
/View
>
<
/TouchableOpacity
>
...
...
@@ -344,7 +342,8 @@ const mapStateToProps = (state) => {
return
{
session_id
:
state
.
session_id
,
addressId
:
state
.
addressId
addressId
:
state
.
addressId
,
language
:
state
.
language
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment