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
bcbb6fc6
Commit
bcbb6fc6
authored
Jun 18, 2020
by
Trisno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
translate delivery
parent
bac7487d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
en.json
lib/en.json
+1
-0
id.json
lib/id.json
+1
-0
MenuSelection.js
view/MenuSelection.js
+1
-1
No files found.
lib/en.json
View file @
bcbb6fc6
...
...
@@ -64,6 +64,7 @@
"enterToken"
:
"Enter Token"
,
"token"
:
"Token"
,
"delivery"
:
"DELIVERY"
,
"rateDelivery"
:
"Delivery"
,
"pickup"
:
"PICKUP"
,
"orderInfo"
:
"YOU WILL PICKUP YOUR ORDER AT"
,
"orderNow"
:
"ORDER NOW"
,
...
...
lib/id.json
View file @
bcbb6fc6
...
...
@@ -56,6 +56,7 @@
"enterToken"
:
"Masukan Token"
,
"token"
:
"Token"
,
"delivery"
:
"ANTAR"
,
"rateDelivery"
:
"Ongkos Kirim"
,
"pickup"
:
"AMBIL"
,
"changepassword"
:
"GANTI KATA SANDI"
,
"changeEmail"
:
"GANTI EMAIL"
,
...
...
view/MenuSelection.js
View file @
bcbb6fc6
...
...
@@ -334,7 +334,7 @@ class MenuSelection extends React.Component {
<
View
style
=
{{
flex
:
1
,
flexDirection
:
'row'
}}
>
<
View
style
=
{{
flex
:
1
,
justifyContent
:
'flex-start'
}}
>
<
Text
style
=
{{
fontSize
:
12
,
fontFamily
:
'Gotham-Black'
,
textAlign
:
'center'
,
top
:
10
,
color
:
'#838383'
}}
>
{
this
.
props
.
order_quantity
}
Item
{
this
.
props
.
type_pickup
==
true
?
(
null
)
:
(
<
NumberFormat
decimalScale
=
{
0
}
value
=
{
this
.
props
.
grabamount
}
renderText
=
{
value
=>
<
Text
style
=
{{
fontSize
:
12
,
fontFamily
:
'Gotham-Light'
,
top
:
20
,
textAlign
:
'center'
,
color
:
'#838383'
}}
>
/
Delivery
Rp. {value}</
Text
>
}
displayType
=
{
'text'
}
thousandSeparator
=
{
true
}
prefix
=
{
''
}
/
>
<
NumberFormat
decimalScale
=
{
0
}
value
=
{
this
.
props
.
grabamount
}
renderText
=
{
value
=>
<
Text
style
=
{{
fontSize
:
12
,
fontFamily
:
'Gotham-Light'
,
top
:
20
,
textAlign
:
'center'
,
color
:
'#838383'
}}
>
/
{i18n.t
(
'rateDelivery'
)
}
Rp. {value}</
Text
>
}
displayType
=
{
'text'
}
thousandSeparator
=
{
true
}
prefix
=
{
''
}
/
>
)}
<
/Text
>
<
NumberFormat
decimalScale
=
{
0
}
value
=
{
this
.
props
.
order_total
}
renderText
=
{
value
=>
<
Text
style
=
{{
fontSize
:
20
,
fontFamily
:
'Gotham-Light'
,
top
:
20
,
textAlign
:
'center'
,
color
:
'#838383'
}}
>
Rp
.
{
value
}
<
/Text>} displayType={'text'} thousandSeparator={true} prefix={''} /
>
<
/View
>
...
...
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