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
8acd73ef
Commit
8acd73ef
authored
Jun 25, 2020
by
Wahyu Adjie Prasetyo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix xioami
parent
31ce1e2d
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
102 additions
and
21 deletions
+102
-21
id.json
lib/id.json
+2
-2
AddreesDetail.js
view/AddreesDetail.js
+10
-2
ChangePassword.js
view/ChangePassword.js
+7
-0
ChangeProfil.js
view/ChangeProfil.js
+9
-4
DeliveryAddrees.js
view/DeliveryAddrees.js
+3
-0
EmailConfirmation.js
view/EmailConfirmation.js
+5
-2
NewPassword.js
view/NewPassword.js
+7
-3
New_Register.js
view/New_Register.js
+9
-0
PaymentCode.js
view/PaymentCode.js
+3
-0
PickupName.js
view/PickupName.js
+4
-1
RatingOrder.js
view/RatingOrder.js
+3
-0
ResetPassword.js
view/ResetPassword.js
+5
-2
TransferBalance.js
view/TransferBalance.js
+14
-5
UpgradePremium.js
view/UpgradePremium.js
+21
-0
No files found.
lib/id.json
View file @
8acd73ef
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
"detail"
:
"Details"
,
"detail"
:
"Details"
,
"resendemail"
:
"KIRIM ULANG EMAIL TOKEN"
,
"resendemail"
:
"KIRIM ULANG EMAIL TOKEN"
,
"enterToken"
:
"Masukan Token"
,
"enterToken"
:
"Masukan Token"
,
"token"
:
"T
oken
"
,
"token"
:
"T
OKEN
"
,
"delivery"
:
"ANTAR"
,
"delivery"
:
"ANTAR"
,
"rateDelivery"
:
"Ongkos Kirim"
,
"rateDelivery"
:
"Ongkos Kirim"
,
"price"
:
"Harga"
,
"price"
:
"Harga"
,
...
@@ -99,7 +99,7 @@
...
@@ -99,7 +99,7 @@
"Usebalancepoint"
:
"GUNAKAN SALDO / POINT"
,
"Usebalancepoint"
:
"GUNAKAN SALDO / POINT"
,
"Acitvatecard"
:
"AKTIVASI KARTU"
,
"Acitvatecard"
:
"AKTIVASI KARTU"
,
"mobilePhone"
:
"Nomor HP"
,
"mobilePhone"
:
"Nomor HP"
,
"resend"
:
"K
irim Ulang
"
,
"resend"
:
"K
IRIM ULANG TOKEN
"
,
"cardNumber"
:
"Nomor Kartu"
,
"cardNumber"
:
"Nomor Kartu"
,
"activate"
:
"AKTIVASI"
,
"activate"
:
"AKTIVASI"
,
"alertpoin"
:
"Maaf Point tidak cukup"
,
"alertpoin"
:
"Maaf Point tidak cukup"
,
...
...
view/AddreesDetail.js
View file @
8acd73ef
...
@@ -36,6 +36,7 @@ class AddreesDetail extends React.Component {
...
@@ -36,6 +36,7 @@ class AddreesDetail extends React.Component {
address_d
:
''
,
address_d
:
''
,
spinner
:
false
,
spinner
:
false
,
indicator
:
true
,
indicator
:
true
,
caretHidden
:
true
,
}
}
}
}
...
@@ -229,6 +230,8 @@ class AddreesDetail extends React.Component {
...
@@ -229,6 +230,8 @@ class AddreesDetail extends React.Component {
<
/View
>
<
/View
>
<
View
style
=
{{
flex
:
6
}}
>
<
View
style
=
{{
flex
:
6
}}
>
<
TextInput
style
=
{{
height
:
45
}}
placeholder
=
"Cari Alamat"
<
TextInput
style
=
{{
height
:
45
}}
placeholder
=
"Cari Alamat"
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
onChangeText
=
{(
address
)
=>
this
.
setState
({
address
})}
>
onChangeText
=
{(
address
)
=>
this
.
setState
({
address
})}
>
<
/TextInput
>
<
/TextInput
>
<
/View
>
<
/View
>
...
@@ -292,7 +295,10 @@ class AddreesDetail extends React.Component {
...
@@ -292,7 +295,10 @@ class AddreesDetail extends React.Component {
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
field_name_addrees
}
>
<
View
style
=
{
styles
.
field_name_addrees
}
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
"#ccb46c"
,
textAlign
:
'center'
,
fontSize
:
18
}}
>
{
i18n
.
t
(
'label'
)}
<
/Text
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
"#ccb46c"
,
textAlign
:
'center'
,
fontSize
:
18
}}
>
{
i18n
.
t
(
'label'
)}
<
/Text
>
<
TextInput
style
=
{{
color
:
'grey'
,
fontFamily
:
'Gotham-Black'
,
height
:
40
,
borderWidth
:
1
,
padding
:
5
,
flex
:
1
,
margin
:
10
,
borderRadius
:
10
,
borderColor
:
'grey'
,
textAlign
:
'center'
}}
onChangeText
=
{(
name
)
=>
this
.
setState
({
name
})}
/
>
<
TextInput
style
=
{{
color
:
'grey'
,
fontFamily
:
'Gotham-Black'
,
height
:
40
,
borderWidth
:
1
,
padding
:
5
,
flex
:
1
,
margin
:
10
,
borderRadius
:
10
,
borderColor
:
'grey'
,
textAlign
:
'center'
}}
onChangeText
=
{(
name
)
=>
this
.
setState
({
name
})}
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
/
>
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
field_detail_addrees
}
>
<
View
style
=
{
styles
.
field_detail_addrees
}
>
...
@@ -301,7 +307,9 @@ class AddreesDetail extends React.Component {
...
@@ -301,7 +307,9 @@ class AddreesDetail extends React.Component {
style
=
{{
color
:
'grey'
,
fontFamily
:
'Gotham-Black'
,
textAlign
:
'center'
,
height
:
70
,
borderWidth
:
1
,
padding
:
5
,
flex
:
1
,
margin
:
10
,
borderRadius
:
10
,
borderColor
:
'grey'
}}
style
=
{{
color
:
'grey'
,
fontFamily
:
'Gotham-Black'
,
textAlign
:
'center'
,
height
:
70
,
borderWidth
:
1
,
padding
:
5
,
flex
:
1
,
margin
:
10
,
borderRadius
:
10
,
borderColor
:
'grey'
}}
onChangeText
=
{(
description
)
=>
this
.
setState
({
description
})}
onChangeText
=
{(
description
)
=>
this
.
setState
({
description
})}
numberOfLines
=
{
10
}
numberOfLines
=
{
10
}
multiline
=
{
true
}
/
>
multiline
=
{
true
}
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
/
>
<
/View
>
<
/View
>
<
View
style
=
{{
margin
:
50
,
justifyContent
:
'center'
}}
>
<
View
style
=
{{
margin
:
50
,
justifyContent
:
'center'
}}
>
<
TouchableOpacity
onPress
=
{()
=>
this
.
saveAddress
()}
>
<
TouchableOpacity
onPress
=
{()
=>
this
.
saveAddress
()}
>
...
...
view/ChangePassword.js
View file @
8acd73ef
...
@@ -15,6 +15,7 @@ class ChangePassword extends React.Component {
...
@@ -15,6 +15,7 @@ class ChangePassword extends React.Component {
old_password
:
''
,
old_password
:
''
,
Password
:
''
,
Password
:
''
,
Password_confirmation
:
''
,
Password_confirmation
:
''
,
caretHidden
:
true
}
}
}
}
...
@@ -57,6 +58,8 @@ class ChangePassword extends React.Component {
...
@@ -57,6 +58,8 @@ class ChangePassword extends React.Component {
onChangeText
=
{(
old_password
)
=>
this
.
setState
({
old_password
})}
onChangeText
=
{(
old_password
)
=>
this
.
setState
({
old_password
})}
value
=
{
this
.
state
.
old_password
}
value
=
{
this
.
state
.
old_password
}
secureTextEntry
=
{
true
}
secureTextEntry
=
{
true
}
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
textAlign
=
'center'
/>
textAlign
=
'center'
/>
<
/View
>
<
/View
>
<
/View
>
<
/View
>
...
@@ -69,6 +72,8 @@ class ChangePassword extends React.Component {
...
@@ -69,6 +72,8 @@ class ChangePassword extends React.Component {
onChangeText
=
{(
Password
)
=>
this
.
setState
({
Password
})}
onChangeText
=
{(
Password
)
=>
this
.
setState
({
Password
})}
value
=
{
this
.
state
.
Password
}
value
=
{
this
.
state
.
Password
}
secureTextEntry
=
{
true
}
secureTextEntry
=
{
true
}
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
textAlign
=
'center'
/>
textAlign
=
'center'
/>
<
/View
>
<
/View
>
<
/View
>
<
/View
>
...
@@ -81,6 +86,8 @@ class ChangePassword extends React.Component {
...
@@ -81,6 +86,8 @@ class ChangePassword extends React.Component {
onChangeText
=
{(
Password_confirmation
)
=>
this
.
setState
({
Password_confirmation
})}
onChangeText
=
{(
Password_confirmation
)
=>
this
.
setState
({
Password_confirmation
})}
value
=
{
this
.
state
.
Password_confirmation
}
value
=
{
this
.
state
.
Password_confirmation
}
secureTextEntry
=
{
true
}
secureTextEntry
=
{
true
}
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
textAlign
=
'center'
/>
textAlign
=
'center'
/>
<
/View
>
<
/View
>
<
/View
>
<
/View
>
...
...
view/ChangeProfil.js
View file @
8acd73ef
...
@@ -18,6 +18,7 @@ class ChangeProfil extends React.Component {
...
@@ -18,6 +18,7 @@ class ChangeProfil extends React.Component {
gender_selected
:
''
,
gender_selected
:
''
,
email
:
''
,
email
:
''
,
no_tlp
:
''
,
no_tlp
:
''
,
caretHidden
:
true
}
}
// console.log('PROPS : ' + JSON.stringify(props.navigation))
// console.log('PROPS : ' + JSON.stringify(props.navigation))
}
}
...
@@ -100,12 +101,14 @@ class ChangeProfil extends React.Component {
...
@@ -100,12 +101,14 @@ class ChangeProfil extends React.Component {
<
View
style
=
{{
flex
:
1
,
margin
:
20
,
top
:
20
}}
>
<
View
style
=
{{
flex
:
1
,
margin
:
20
,
top
:
20
}}
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
3
}}
>
Name
<
/Text
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
3
}}
>
Name
<
/Text
>
<
TextInput
style
=
{{
height
:
40
,
borderWidth
:
1
,
padding
:
5
,
margin
:
10
,
borderRadius
:
10
,
borderColor
:
'grey'
,
fontFamily
:
'Gotham-Black'
,
textAlign
:
'center'
,
color
:
'grey'
,
fontWeight
:
'bold'
,
fontSize
:
20
}}
<
TextInput
style
=
{{
height
:
40
,
borderWidth
:
1
,
padding
:
5
,
margin
:
10
,
borderRadius
:
10
,
borderColor
:
'grey'
,
fontFamily
:
'Gotham-Black'
,
textAlign
:
'center'
,
color
:
'grey'
,
fontWeight
:
'bold'
,
fontSize
:
20
}}
onChangeText
=
{(
full_name
)
=>
this
.
setState
({
full_name
})}
value
=
{
this
.
state
.
full_name
}
>
onChangeText
=
{(
full_name
)
=>
this
.
setState
({
full_name
})}
value
=
{
this
.
state
.
full_name
}
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
>
<
/TextInput
>
<
/TextInput
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
3
}}
>
Date
of
Birth
<
/Text
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
3
}}
>
Date
of
Birth
<
/Text
>
<
TextInput
style
=
{{
height
:
40
,
borderWidth
:
1
,
padding
:
5
,
margin
:
10
,
borderRadius
:
10
,
borderColor
:
'grey'
,
fontFamily
:
'Gotham-Black'
,
textAlign
:
'center'
,
color
:
'grey'
,
fontWeight
:
'bold'
,
fontSize
:
20
}}
<
TextInput
style
=
{{
height
:
40
,
borderWidth
:
1
,
padding
:
5
,
margin
:
10
,
borderRadius
:
10
,
borderColor
:
'grey'
,
fontFamily
:
'Gotham-Black'
,
textAlign
:
'center'
,
color
:
'grey'
,
fontWeight
:
'bold'
,
fontSize
:
20
}}
editable
=
{
false
}
>
editable
=
{
false
}
>
{
this
.
state
.
dob_day
}
/ {this.state.dob_month} /
{
this
.
state
.
dob_year
}
{
this
.
state
.
dob_day
}
/ {this.state.dob_month} /
{
this
.
state
.
dob_year
}
<
/TextInput
>
<
/TextInput
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
3
}}
>
Gender
<
/Text
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
3
}}
>
Gender
<
/Text
>
<
View
style
=
{{
justifyContent
:
'center'
,
borderRadius
:
10
,
borderWidth
:
1
,
borderColor
:
'grey'
,
height
:
40
,
marginRight
:
10
,
marginLeft
:
10
}}
>
<
View
style
=
{{
justifyContent
:
'center'
,
borderRadius
:
10
,
borderWidth
:
1
,
borderColor
:
'grey'
,
height
:
40
,
marginRight
:
10
,
marginLeft
:
10
}}
>
...
@@ -120,7 +123,9 @@ class ChangeProfil extends React.Component {
...
@@ -120,7 +123,9 @@ class ChangeProfil extends React.Component {
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
3
}}
>
Mobile
<
/Text
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
3
}}
>
Mobile
<
/Text
>
<
TextInput
style
=
{{
height
:
40
,
borderWidth
:
1
,
padding
:
5
,
margin
:
10
,
borderRadius
:
10
,
borderColor
:
'grey'
,
fontFamily
:
'Gotham-Black'
,
textAlign
:
'center'
,
color
:
'grey'
,
fontWeight
:
'bold'
,
fontSize
:
20
}}
<
TextInput
style
=
{{
height
:
40
,
borderWidth
:
1
,
padding
:
5
,
margin
:
10
,
borderRadius
:
10
,
borderColor
:
'grey'
,
fontFamily
:
'Gotham-Black'
,
textAlign
:
'center'
,
color
:
'grey'
,
fontWeight
:
'bold'
,
fontSize
:
20
}}
onChangeText
=
{(
no_tlp
)
=>
this
.
setState
({
no_tlp
})}
onChangeText
=
{(
no_tlp
)
=>
this
.
setState
({
no_tlp
})}
editable
=
{
true
}
>
editable
=
{
true
}
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
>
<
/TextInput
>
<
/TextInput
>
<
/View
>
<
/View
>
<
/View
>
<
/View
>
...
...
view/DeliveryAddrees.js
View file @
8acd73ef
...
@@ -20,6 +20,7 @@ class DeliveryAddrees extends React.Component {
...
@@ -20,6 +20,7 @@ class DeliveryAddrees extends React.Component {
data_before_search
:
[],
data_before_search
:
[],
search
:
''
,
search
:
''
,
indicator
:
true
,
indicator
:
true
,
caretHidden
:
true
// outlet_id: '',
// outlet_id: '',
// grabamount: ''
// grabamount: ''
}
}
...
@@ -311,6 +312,8 @@ class DeliveryAddrees extends React.Component {
...
@@ -311,6 +312,8 @@ class DeliveryAddrees extends React.Component {
<
TextInput
style
=
{{
height
:
45
}}
placeholder
=
{
i18n
.
t
(
'searchaddress'
)}
<
TextInput
style
=
{{
height
:
45
}}
placeholder
=
{
i18n
.
t
(
'searchaddress'
)}
onChangeText
=
{
text
=>
this
.
filterData
(
text
)}
onChangeText
=
{
text
=>
this
.
filterData
(
text
)}
onClear
=
{
text
=>
this
.
filterData
(
''
)}
onClear
=
{
text
=>
this
.
filterData
(
''
)}
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
value
=
{
this
.
state
.
search
}
><
/TextInput
>
value
=
{
this
.
state
.
search
}
><
/TextInput
>
<
/View
>
<
/View
>
<
View
style
=
{{
flex
:
1
,
margin
:
5
}}
>
<
View
style
=
{{
flex
:
1
,
margin
:
5
}}
>
...
...
view/EmailConfirmation.js
View file @
8acd73ef
...
@@ -15,7 +15,8 @@ class EmailConfirmation extends React.Component {
...
@@ -15,7 +15,8 @@ class EmailConfirmation extends React.Component {
super
(
props
);
super
(
props
);
this
.
state
=
{
this
.
state
=
{
confirmation_number
:
""
,
confirmation_number
:
""
,
spinner
:
false
spinner
:
false
,
caretHidden
:
true
,
}
}
}
}
...
@@ -213,7 +214,9 @@ class EmailConfirmation extends React.Component {
...
@@ -213,7 +214,9 @@ class EmailConfirmation extends React.Component {
value
=
{
this
.
state
.
confirmation_number
}
value
=
{
this
.
state
.
confirmation_number
}
autoCapitalize
=
"none"
autoCapitalize
=
"none"
value
=
{
this
.
state
.
email
}
value
=
{
this
.
state
.
email
}
keyboardType
=
'numeric'
/>
keyboardType
=
'numeric'
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
/
>
<
TouchableOpacity
style
=
{{
height
:
100
}}
onPress
=
{()
=>
this
.
handleSubmit
()}
>
<
TouchableOpacity
style
=
{{
height
:
100
}}
onPress
=
{()
=>
this
.
handleSubmit
()}
>
<
View
style
=
{{
backgroundColor
:
'#CFB368'
,
height
:
45
,
top
:
10
,
borderRadius
:
10
,
marginRight
:
50
,
marginLeft
:
50
}}
>
<
View
style
=
{{
backgroundColor
:
'#CFB368'
,
height
:
45
,
top
:
10
,
borderRadius
:
10
,
marginRight
:
50
,
marginLeft
:
50
}}
>
<
Text
style
=
{{
alignSelf
:
'center'
,
top
:
10
,
color
:
'white'
,
fontFamily
:
'Gotham-Black'
,
fontSize
:
20
}}
>
{
i18n
.
t
(
'submit'
)}
<
/Text
>
<
Text
style
=
{{
alignSelf
:
'center'
,
top
:
10
,
color
:
'white'
,
fontFamily
:
'Gotham-Black'
,
fontSize
:
20
}}
>
{
i18n
.
t
(
'submit'
)}
<
/Text
>
...
...
view/NewPassword.js
View file @
8acd73ef
...
@@ -12,6 +12,7 @@ class NewPassword extends React.Component {
...
@@ -12,6 +12,7 @@ class NewPassword extends React.Component {
constructor
(
props
)
{
constructor
(
props
)
{
super
(
props
)
super
(
props
)
this
.
state
=
{
this
.
state
=
{
caretHidden
:
true
,
confirmation_number
:
''
,
confirmation_number
:
''
,
email
:
this
.
props
.
email
,
email
:
this
.
props
.
email
,
password
:
this
.
props
.
password
,
password
:
this
.
props
.
password
,
...
@@ -86,22 +87,25 @@ class NewPassword extends React.Component {
...
@@ -86,22 +87,25 @@ class NewPassword extends React.Component {
<
View
style
=
{{
flex
:
1
,
marginRight
:
30
,
marginLeft
:
30
,
top
:
20
}}
>
<
View
style
=
{{
flex
:
1
,
marginRight
:
30
,
marginLeft
:
30
,
top
:
20
}}
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
3
}}
>
{
i18n
.
t
(
'email'
)}
<
/Text
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
3
}}
>
{
i18n
.
t
(
'email'
)}
<
/Text
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#838383'
,
fontSize
:
18
,
textAlign
:
'center'
,
margin
:
3
,
marginBottom
:
15
}}
>
{
this
.
props
.
email
}
<
/Text
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#838383'
,
fontSize
:
18
,
textAlign
:
'center'
,
margin
:
3
,
marginBottom
:
15
}}
>
{
this
.
props
.
email
}
<
/Text
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
3
}}
>
{
i18n
.
t
(
'token'
)}
<
/Text
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
3
}}
>
{
i18n
.
t
(
'token'
)}
<
/Text
>
<
TextInput
style
=
{{
height
:
40
,
borderWidth
:
1
,
padding
:
5
,
margin
:
10
,
borderRadius
:
10
,
borderColor
:
'grey'
,
fontFamily
:
'Gotham-Black'
,
textAlign
:
'center'
,
color
:
'grey'
,
fontWeight
:
'bold'
,
fontSize
:
20
}}
<
TextInput
style
=
{{
height
:
40
,
borderWidth
:
1
,
padding
:
5
,
margin
:
10
,
borderRadius
:
10
,
borderColor
:
'grey'
,
fontFamily
:
'Gotham-Black'
,
textAlign
:
'center'
,
color
:
'grey'
,
fontWeight
:
'bold'
,
fontSize
:
20
}}
onChangeText
=
{(
confirmation_number
)
=>
this
.
setState
({
confirmation_number
})}
onChangeText
=
{(
confirmation_number
)
=>
this
.
setState
({
confirmation_number
})}
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
value
=
{
this
.
state
.
confirmation_number
}
/
>
value
=
{
this
.
state
.
confirmation_number
}
/
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
3
}}
>
{
i18n
.
t
(
'newpassword'
)}
<
/Text
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
3
}}
>
{
i18n
.
t
(
'newpassword'
)}
<
/Text
>
<
TextInput
style
=
{{
height
:
40
,
borderWidth
:
1
,
padding
:
5
,
margin
:
10
,
borderRadius
:
10
,
borderColor
:
'grey'
,
fontFamily
:
'Gotham-Black'
,
textAlign
:
'center'
,
color
:
'grey'
,
fontWeight
:
'bold'
,
fontSize
:
20
}}
<
TextInput
style
=
{{
height
:
40
,
borderWidth
:
1
,
padding
:
5
,
margin
:
10
,
borderRadius
:
10
,
borderColor
:
'grey'
,
fontFamily
:
'Gotham-Black'
,
textAlign
:
'center'
,
color
:
'grey'
,
fontWeight
:
'bold'
,
fontSize
:
20
}}
onChangeText
=
{(
password
)
=>
this
.
setState
({
password
})}
onChangeText
=
{(
password
)
=>
this
.
setState
({
password
})}
value
=
{
this
.
state
.
password
}
value
=
{
this
.
state
.
password
}
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
secureTextEntry
=
{
true
}
/
>
secureTextEntry
=
{
true
}
/
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
3
}}
>
{
i18n
.
t
(
'repeatpassword'
)}
<
/Text
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
3
}}
>
{
i18n
.
t
(
'repeatpassword'
)}
<
/Text
>
<
TextInput
style
=
{{
height
:
40
,
borderWidth
:
1
,
padding
:
5
,
margin
:
10
,
borderRadius
:
10
,
borderColor
:
'grey'
,
fontFamily
:
'Gotham-Black'
,
textAlign
:
'center'
,
color
:
'grey'
,
fontWeight
:
'bold'
,
fontSize
:
20
}}
<
TextInput
style
=
{{
height
:
40
,
borderWidth
:
1
,
padding
:
5
,
margin
:
10
,
borderRadius
:
10
,
borderColor
:
'grey'
,
fontFamily
:
'Gotham-Black'
,
textAlign
:
'center'
,
color
:
'grey'
,
fontWeight
:
'bold'
,
fontSize
:
20
}}
onChangeText
=
{(
password_confirmation
)
=>
this
.
setState
({
password_confirmation
})}
onChangeText
=
{(
password_confirmation
)
=>
this
.
setState
({
password_confirmation
})}
value
=
{
this
.
state
.
password_confirmation
}
value
=
{
this
.
state
.
password_confirmation
}
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
secureTextEntry
=
{
true
}
/
>
secureTextEntry
=
{
true
}
/
>
<
TouchableOpacity
style
=
{{
height
:
100
}}
onPress
=
{()
=>
this
.
handleResetPassword
()}
>
<
TouchableOpacity
style
=
{{
height
:
100
}}
onPress
=
{()
=>
this
.
handleResetPassword
()}
>
<
View
style
=
{{
backgroundColor
:
'#CFB368'
,
height
:
45
,
top
:
20
,
borderRadius
:
10
,
marginRight
:
50
,
marginLeft
:
50
}}
>
<
View
style
=
{{
backgroundColor
:
'#CFB368'
,
height
:
45
,
top
:
20
,
borderRadius
:
10
,
marginRight
:
50
,
marginLeft
:
50
}}
>
...
...
view/New_Register.js
View file @
8acd73ef
...
@@ -32,6 +32,7 @@ class NewRegister extends React.Component {
...
@@ -32,6 +32,7 @@ class NewRegister extends React.Component {
constructor
(
props
)
{
constructor
(
props
)
{
super
(
props
);
super
(
props
);
this
.
state
=
({
this
.
state
=
({
caretHidden
:
true
,
email
:
""
,
email
:
""
,
password
:
""
,
password
:
""
,
full_name
:
""
,
full_name
:
""
,
...
@@ -281,6 +282,8 @@ class NewRegister extends React.Component {
...
@@ -281,6 +282,8 @@ class NewRegister extends React.Component {
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
items2
}
>
<
View
style
=
{
styles
.
items2
}
>
<
TextInput
<
TextInput
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
style
=
{
styles
.
textInput
}
style
=
{
styles
.
textInput
}
onChangeText
=
{(
email
)
=>
this
.
setState
({
email
})}
onChangeText
=
{(
email
)
=>
this
.
setState
({
email
})}
value
=
{
this
.
state
.
email
}
value
=
{
this
.
state
.
email
}
...
@@ -300,6 +303,8 @@ class NewRegister extends React.Component {
...
@@ -300,6 +303,8 @@ class NewRegister extends React.Component {
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
items2
}
>
<
View
style
=
{
styles
.
items2
}
>
<
TextInput
<
TextInput
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
style
=
{
styles
.
textInput
}
style
=
{
styles
.
textInput
}
onChangeText
=
{(
password
)
=>
this
.
setState
({
password
})}
onChangeText
=
{(
password
)
=>
this
.
setState
({
password
})}
value
=
{
this
.
state
.
password
}
value
=
{
this
.
state
.
password
}
...
@@ -318,6 +323,8 @@ class NewRegister extends React.Component {
...
@@ -318,6 +323,8 @@ class NewRegister extends React.Component {
<
View
style
=
{
styles
.
items2
}
>
<
View
style
=
{
styles
.
items2
}
>
<
TextInput
<
TextInput
style
=
{
styles
.
textInput
}
style
=
{
styles
.
textInput
}
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
onChangeText
=
{(
confirm_pass
)
=>
this
.
setState
({
confirm_pass
})}
onChangeText
=
{(
confirm_pass
)
=>
this
.
setState
({
confirm_pass
})}
value
=
{
this
.
state
.
confirm_pass
}
value
=
{
this
.
state
.
confirm_pass
}
secureTextEntry
=
{
true
}
secureTextEntry
=
{
true
}
...
@@ -335,6 +342,8 @@ class NewRegister extends React.Component {
...
@@ -335,6 +342,8 @@ class NewRegister extends React.Component {
<
View
style
=
{
styles
.
items2
}
>
<
View
style
=
{
styles
.
items2
}
>
<
TextInput
<
TextInput
style
=
{
styles
.
textInput
}
style
=
{
styles
.
textInput
}
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
onChangeText
=
{(
full_name
)
=>
this
.
setState
({
full_name
})}
onChangeText
=
{(
full_name
)
=>
this
.
setState
({
full_name
})}
value
=
{
this
.
state
.
full_name
}
value
=
{
this
.
state
.
full_name
}
placeholder
=
'Example'
placeholder
=
'Example'
...
...
view/PaymentCode.js
View file @
8acd73ef
...
@@ -14,6 +14,7 @@ class PaymentCode extends React.Component {
...
@@ -14,6 +14,7 @@ class PaymentCode extends React.Component {
kaspro_point
:
''
,
kaspro_point
:
''
,
redeem_balance
:
''
,
redeem_balance
:
''
,
redeem_point
:
''
,
redeem_point
:
''
,
caretHidden
:
true
,
}
}
}
}
...
@@ -85,6 +86,8 @@ class PaymentCode extends React.Component {
...
@@ -85,6 +86,8 @@ class PaymentCode extends React.Component {
<
TextInput
style
=
{{
height
:
40
,
borderWidth
:
1
,
padding
:
5
,
margin
:
10
,
borderRadius
:
10
,
borderColor
:
'grey'
,
fontFamily
:
'Gotham-Black'
,
textAlign
:
'center'
,
color
:
'grey'
,
fontWeight
:
'bold'
,
fontSize
:
20
}}
<
TextInput
style
=
{{
height
:
40
,
borderWidth
:
1
,
padding
:
5
,
margin
:
10
,
borderRadius
:
10
,
borderColor
:
'grey'
,
fontFamily
:
'Gotham-Black'
,
textAlign
:
'center'
,
color
:
'grey'
,
fontWeight
:
'bold'
,
fontSize
:
20
}}
onChangeText
=
{(
redeem_point
)
=>
this
.
setState
({
redeem_point
})}
onChangeText
=
{(
redeem_point
)
=>
this
.
setState
({
redeem_point
})}
autoCapitalize
=
"none"
autoCapitalize
=
"none"
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
keyboardType
=
'numeric'
>
IDR
.{
this
.
state
.
kaspro_point
}
<
/TextInput
>
keyboardType
=
'numeric'
>
IDR
.{
this
.
state
.
kaspro_point
}
<
/TextInput
>
<
TouchableOpacity
style
=
{{
height
:
100
}}
onPress
=
{()
=>
this
.
redeem
()}
>
<
TouchableOpacity
style
=
{{
height
:
100
}}
onPress
=
{()
=>
this
.
redeem
()}
>
<
View
style
=
{{
backgroundColor
:
'#CFB368'
,
height
:
40
,
top
:
20
,
borderRadius
:
10
,
marginRight
:
50
,
marginLeft
:
50
}}
>
<
View
style
=
{{
backgroundColor
:
'#CFB368'
,
height
:
40
,
top
:
20
,
borderRadius
:
10
,
marginRight
:
50
,
marginLeft
:
50
}}
>
...
...
view/PickupName.js
View file @
8acd73ef
...
@@ -29,6 +29,7 @@ class PickupName extends React.Component {
...
@@ -29,6 +29,7 @@ class PickupName extends React.Component {
data_before_search
:
[],
data_before_search
:
[],
spinner
:
false
,
spinner
:
false
,
indicator
:
true
,
indicator
:
true
,
caretHidden
:
true
}
}
}
}
...
@@ -304,7 +305,9 @@ class PickupName extends React.Component {
...
@@ -304,7 +305,9 @@ class PickupName extends React.Component {
<
TextInput
style
=
{{
height
:
45
}}
placeholder
=
{
i18n
.
t
(
'searchpickups'
)}
<
TextInput
style
=
{{
height
:
45
}}
placeholder
=
{
i18n
.
t
(
'searchpickups'
)}
onChangeText
=
{
text
=>
this
.
filterData
(
text
)}
onChangeText
=
{
text
=>
this
.
filterData
(
text
)}
onClear
=
{
text
=>
this
.
filterData
(
''
)}
onClear
=
{
text
=>
this
.
filterData
(
''
)}
value
=
{
this
.
state
.
search
}
><
/TextInput
>
value
=
{
this
.
state
.
search
}
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
><
/TextInput
>
<
/View
>
<
/View
>
<
View
style
=
{{
flex
:
1
,
margin
:
5
}}
>
<
View
style
=
{{
flex
:
1
,
margin
:
5
}}
>
<
Ionicons
name
=
"ios-search"
size
=
{
32
}
color
=
"#ccb46c"
/>
<
Ionicons
name
=
"ios-search"
size
=
{
32
}
color
=
"#ccb46c"
/>
...
...
view/RatingOrder.js
View file @
8acd73ef
...
@@ -23,6 +23,7 @@ class RatingOrder extends React.Component {
...
@@ -23,6 +23,7 @@ class RatingOrder extends React.Component {
detail_trans
:
''
,
detail_trans
:
''
,
trans_status
:
''
,
trans_status
:
''
,
modalVisible
:
false
,
modalVisible
:
false
,
caretHidden
:
true
,
}
}
}
}
...
@@ -126,6 +127,8 @@ class RatingOrder extends React.Component {
...
@@ -126,6 +127,8 @@ class RatingOrder extends React.Component {
multiline
=
{
true
}
multiline
=
{
true
}
numberOfLines
=
{
4
}
numberOfLines
=
{
4
}
blurOnSubmit
=
{
false
}
blurOnSubmit
=
{
false
}
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
/
>
/
>
<
TouchableOpacity
style
=
{{
height
:
100
}}
onPress
=
{()
=>
this
.
review
()}
>
<
TouchableOpacity
style
=
{{
height
:
100
}}
onPress
=
{()
=>
this
.
review
()}
>
...
...
view/ResetPassword.js
View file @
8acd73ef
...
@@ -14,7 +14,8 @@ class ResetPassword extends React.Component {
...
@@ -14,7 +14,8 @@ class ResetPassword extends React.Component {
this
.
state
=
{
this
.
state
=
{
email
:
''
,
email
:
''
,
language
:
'id'
,
language
:
'id'
,
spinner
:
false
spinner
:
false
,
caretHidden
:
true
}
}
}
}
...
@@ -87,7 +88,9 @@ class ResetPassword extends React.Component {
...
@@ -87,7 +88,9 @@ class ResetPassword extends React.Component {
onChangeText
=
{(
email
)
=>
this
.
setState
({
email
})}
onChangeText
=
{(
email
)
=>
this
.
setState
({
email
})}
autoCapitalize
=
"none"
autoCapitalize
=
"none"
value
=
{
this
.
state
.
email
}
value
=
{
this
.
state
.
email
}
keyboardType
=
'email-address'
/>
keyboardType
=
'email-address'
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
/
>
<
TouchableOpacity
style
=
{{
height
:
100
}}
onPress
=
{()
=>
this
.
handleResetPassword
()}
>
<
TouchableOpacity
style
=
{{
height
:
100
}}
onPress
=
{()
=>
this
.
handleResetPassword
()}
>
<
View
style
=
{{
backgroundColor
:
'#CFB368'
,
height
:
45
,
top
:
20
,
borderRadius
:
10
,
marginRight
:
50
,
marginLeft
:
50
}}
>
<
View
style
=
{{
backgroundColor
:
'#CFB368'
,
height
:
45
,
top
:
20
,
borderRadius
:
10
,
marginRight
:
50
,
marginLeft
:
50
}}
>
<
Text
style
=
{{
alignSelf
:
'center'
,
top
:
10
,
color
:
'white'
,
fontFamily
:
'Gotham-Black'
,
fontSize
:
20
}}
>
{
i18n
.
t
(
'submit'
)}
<
/Text
>
<
Text
style
=
{{
alignSelf
:
'center'
,
top
:
10
,
color
:
'white'
,
fontFamily
:
'Gotham-Black'
,
fontSize
:
20
}}
>
{
i18n
.
t
(
'submit'
)}
<
/Text
>
...
...
view/TransferBalance.js
View file @
8acd73ef
...
@@ -18,7 +18,8 @@ class TransferBalance extends React.Component {
...
@@ -18,7 +18,8 @@ class TransferBalance extends React.Component {
account_number
:
""
,
account_number
:
""
,
destination
:
""
,
destination
:
""
,
amount
:
""
,
amount
:
""
,
reference
:
""
reference
:
""
,
caretHidden
:
true
,
}
}
}
}
...
@@ -90,22 +91,30 @@ class TransferBalance extends React.Component {
...
@@ -90,22 +91,30 @@ class TransferBalance extends React.Component {
<
TextInput
style
=
{{
height
:
40
,
borderWidth
:
1
,
padding
:
5
,
margin
:
10
,
borderRadius
:
10
,
borderColor
:
'grey'
,
fontFamily
:
'Gotham-Black'
,
textAlign
:
'center'
,
color
:
'grey'
,
fontWeight
:
'bold'
,
fontSize
:
20
}}
<
TextInput
style
=
{{
height
:
40
,
borderWidth
:
1
,
padding
:
5
,
margin
:
10
,
borderRadius
:
10
,
borderColor
:
'grey'
,
fontFamily
:
'Gotham-Black'
,
textAlign
:
'center'
,
color
:
'grey'
,
fontWeight
:
'bold'
,
fontSize
:
20
}}
onChangeText
=
{(
destination
)
=>
this
.
setState
({
destination
})}
onChangeText
=
{(
destination
)
=>
this
.
setState
({
destination
})}
value
=
{
this
.
state
.
destination
}
value
=
{
this
.
state
.
destination
}
keyboardType
=
'number-pad'
/>
keyboardType
=
'number-pad'
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
/
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
3
}}
>
{
i18n
.
t
(
'amount'
)}
<
/Text
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
3
}}
>
{
i18n
.
t
(
'amount'
)}
<
/Text
>
<
TextInput
style
=
{{
height
:
40
,
borderWidth
:
1
,
padding
:
5
,
margin
:
10
,
borderRadius
:
10
,
borderColor
:
'grey'
,
fontFamily
:
'Gotham-Black'
,
textAlign
:
'center'
,
color
:
'grey'
,
fontWeight
:
'bold'
,
fontSize
:
20
}}
<
TextInput
style
=
{{
height
:
40
,
borderWidth
:
1
,
padding
:
5
,
margin
:
10
,
borderRadius
:
10
,
borderColor
:
'grey'
,
fontFamily
:
'Gotham-Black'
,
textAlign
:
'center'
,
color
:
'grey'
,
fontWeight
:
'bold'
,
fontSize
:
20
}}
onChangeText
=
{(
amount
)
=>
this
.
setState
({
amount
})}
onChangeText
=
{(
amount
)
=>
this
.
setState
({
amount
})}
value
=
{
this
.
state
.
amount
}
value
=
{
this
.
state
.
amount
}
keyboardType
=
'number-pad'
/>
keyboardType
=
'number-pad'
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
/
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
3
}}
>
{
i18n
.
t
(
'currentbalance'
)}
<
/Text
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
3
}}
>
{
i18n
.
t
(
'currentbalance'
)}
<
/Text
>
<
TextInput
style
=
{{
height
:
40
,
borderWidth
:
1
,
padding
:
5
,
margin
:
10
,
borderRadius
:
10
,
borderColor
:
'grey'
,
fontFamily
:
'Gotham-Black'
,
textAlign
:
'center'
,
color
:
'grey'
,
fontWeight
:
'bold'
,
fontSize
:
20
}}
<
TextInput
style
=
{{
height
:
40
,
borderWidth
:
1
,
padding
:
5
,
margin
:
10
,
borderRadius
:
10
,
borderColor
:
'grey'
,
fontFamily
:
'Gotham-Black'
,
textAlign
:
'center'
,
color
:
'grey'
,
fontWeight
:
'bold'
,
fontSize
:
20
}}
onChangeText
=
{(
no_tlp
)
=>
this
.
setState
({
no_tlp
})}
onChangeText
=
{(
no_tlp
)
=>
this
.
setState
({
no_tlp
})}
editable
=
{
false
}
>
editable
=
{
false
}
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
>
{
this
.
state
.
balance
}
{
this
.
state
.
balance
}
<
/TextInput
>
<
/TextInput
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
3
}}
>
{
i18n
.
t
(
'message'
)}
<
/Text
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
3
}}
>
{
i18n
.
t
(
'message'
)}
<
/Text
>
<
TextInput
style
=
{{
height
:
100
,
borderWidth
:
1
,
padding
:
5
,
margin
:
10
,
borderRadius
:
10
,
borderColor
:
'grey'
,
fontFamily
:
'Gotham-Black'
,
textAlign
:
'center'
,
color
:
'grey'
,
fontWeight
:
'bold'
,
fontSize
:
20
}}
<
TextInput
style
=
{{
height
:
100
,
borderWidth
:
1
,
padding
:
5
,
margin
:
10
,
borderRadius
:
10
,
borderColor
:
'grey'
,
fontFamily
:
'Gotham-Black'
,
textAlign
:
'center'
,
color
:
'grey'
,
fontWeight
:
'bold'
,
fontSize
:
20
}}
onChangeText
=
{(
reference
)
=>
this
.
setState
({
reference
})}
onChangeText
=
{(
reference
)
=>
this
.
setState
({
reference
})}
value
=
{
this
.
state
.
reference
}
>
value
=
{
this
.
state
.
reference
}
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
>
<
/TextInput
>
<
/TextInput
>
<
/View
>
<
/View
>
<
/View
>
<
/View
>
...
...
view/UpgradePremium.js
View file @
8acd73ef
...
@@ -59,6 +59,7 @@ class UpgradePremium extends React.Component {
...
@@ -59,6 +59,7 @@ class UpgradePremium extends React.Component {
uri_id
:
this
.
props
.
URI
,
uri_id
:
this
.
props
.
URI
,
uri_selfie
:
this
.
props
.
URI_IDCARD
,
uri_selfie
:
this
.
props
.
URI_IDCARD
,
spinner
:
false
,
spinner
:
false
,
caretHidden
:
true
,
}
}
}
}
...
@@ -227,6 +228,8 @@ class UpgradePremium extends React.Component {
...
@@ -227,6 +228,8 @@ class UpgradePremium extends React.Component {
onChangeText
=
{(
nama_depan
)
=>
this
.
setState
({
nama_depan
})}
onChangeText
=
{(
nama_depan
)
=>
this
.
setState
({
nama_depan
})}
value
=
{
this
.
state
.
nama_depan
}
value
=
{
this
.
state
.
nama_depan
}
textAlign
=
'center'
textAlign
=
'center'
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
/
>
/
>
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
textLabel
}
>
<
View
style
=
{
styles
.
textLabel
}
>
...
@@ -238,6 +241,8 @@ class UpgradePremium extends React.Component {
...
@@ -238,6 +241,8 @@ class UpgradePremium extends React.Component {
onChangeText
=
{(
nama_belakang
)
=>
this
.
setState
({
nama_belakang
})}
onChangeText
=
{(
nama_belakang
)
=>
this
.
setState
({
nama_belakang
})}
value
=
{
this
.
state
.
nama_belakang
}
value
=
{
this
.
state
.
nama_belakang
}
textAlign
=
'center'
textAlign
=
'center'
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
/
>
/
>
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
textLabel
}
>
<
View
style
=
{
styles
.
textLabel
}
>
...
@@ -249,6 +254,8 @@ class UpgradePremium extends React.Component {
...
@@ -249,6 +254,8 @@ class UpgradePremium extends React.Component {
onChangeText
=
{(
tempat_lahir
)
=>
this
.
setState
({
tempat_lahir
})}
onChangeText
=
{(
tempat_lahir
)
=>
this
.
setState
({
tempat_lahir
})}
value
=
{
this
.
state
.
tempat_lahir
}
value
=
{
this
.
state
.
tempat_lahir
}
textAlign
=
'center'
textAlign
=
'center'
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
/
>
/
>
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
textLabel
}
>
<
View
style
=
{
styles
.
textLabel
}
>
...
@@ -260,6 +267,8 @@ class UpgradePremium extends React.Component {
...
@@ -260,6 +267,8 @@ class UpgradePremium extends React.Component {
onChangeText
=
{(
alamat_permanent
)
=>
this
.
setState
({
alamat_permanent
})}
onChangeText
=
{(
alamat_permanent
)
=>
this
.
setState
({
alamat_permanent
})}
value
=
{
this
.
state
.
alamat_permanent
}
value
=
{
this
.
state
.
alamat_permanent
}
textAlign
=
'center'
textAlign
=
'center'
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
/
>
/
>
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
textLabel
}
>
<
View
style
=
{
styles
.
textLabel
}
>
...
@@ -271,6 +280,8 @@ class UpgradePremium extends React.Component {
...
@@ -271,6 +280,8 @@ class UpgradePremium extends React.Component {
onChangeText
=
{(
region
)
=>
this
.
setState
({
region
})}
onChangeText
=
{(
region
)
=>
this
.
setState
({
region
})}
value
=
{
this
.
state
.
region
}
value
=
{
this
.
state
.
region
}
textAlign
=
'center'
textAlign
=
'center'
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
/
>
/
>
{
/* <RNPickerSelect
{
/* <RNPickerSelect
value={this.state.region}
value={this.state.region}
...
@@ -287,6 +298,8 @@ class UpgradePremium extends React.Component {
...
@@ -287,6 +298,8 @@ class UpgradePremium extends React.Component {
onChangeText
=
{(
city
)
=>
this
.
setState
({
city
})}
onChangeText
=
{(
city
)
=>
this
.
setState
({
city
})}
value
=
{
this
.
state
.
city
}
value
=
{
this
.
state
.
city
}
textAlign
=
'center'
textAlign
=
'center'
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
/
>
/
>
{
/* <RNPickerSelect
{
/* <RNPickerSelect
value={this.state.city}
value={this.state.city}
...
@@ -303,6 +316,8 @@ class UpgradePremium extends React.Component {
...
@@ -303,6 +316,8 @@ class UpgradePremium extends React.Component {
onChangeText
=
{(
district
)
=>
this
.
setState
({
district
})}
onChangeText
=
{(
district
)
=>
this
.
setState
({
district
})}
value
=
{
this
.
state
.
district
}
value
=
{
this
.
state
.
district
}
textAlign
=
'center'
textAlign
=
'center'
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
/
>
/
>
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
textLabel
}
>
<
View
style
=
{
styles
.
textLabel
}
>
...
@@ -314,6 +329,8 @@ class UpgradePremium extends React.Component {
...
@@ -314,6 +329,8 @@ class UpgradePremium extends React.Component {
onChangeText
=
{(
village
)
=>
this
.
setState
({
village
})}
onChangeText
=
{(
village
)
=>
this
.
setState
({
village
})}
value
=
{
this
.
state
.
village
}
value
=
{
this
.
state
.
village
}
textAlign
=
'center'
textAlign
=
'center'
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
/
>
/
>
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
textLabel
}
>
<
View
style
=
{
styles
.
textLabel
}
>
...
@@ -349,6 +366,8 @@ class UpgradePremium extends React.Component {
...
@@ -349,6 +366,8 @@ class UpgradePremium extends React.Component {
onChangeText
=
{(
id_value
)
=>
this
.
setState
({
id_value
})}
onChangeText
=
{(
id_value
)
=>
this
.
setState
({
id_value
})}
value
=
{
this
.
state
.
id_value
}
value
=
{
this
.
state
.
id_value
}
textAlign
=
'center'
textAlign
=
'center'
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
/
>
/
>
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
textLabel
}
>
<
View
style
=
{
styles
.
textLabel
}
>
...
@@ -360,6 +379,8 @@ class UpgradePremium extends React.Component {
...
@@ -360,6 +379,8 @@ class UpgradePremium extends React.Component {
onChangeText
=
{(
nationality
)
=>
this
.
setState
({
nationality
})}
onChangeText
=
{(
nationality
)
=>
this
.
setState
({
nationality
})}
value
=
{
this
.
state
.
nationality
}
value
=
{
this
.
state
.
nationality
}
textAlign
=
'center'
textAlign
=
'center'
caretHidden
=
{
this
.
state
.
caretHidden
}
onFocus
=
{()
=>
this
.
setState
({
caretHidden
:
false
})}
/
>
/
>
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
textLabel
}
>
<
View
style
=
{
styles
.
textLabel
}
>
...
...
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