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
7cf95b08
Commit
7cf95b08
authored
Jun 15, 2020
by
William Goszal
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tampilin notenya di list item di halaman menu & cart
parent
3cf7e94f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletion
+16
-1
Item.js
view/Item.js
+8
-0
ItemShopingCart.js
view/ItemShopingCart.js
+8
-1
No files found.
view/Item.js
View file @
7cf95b08
...
...
@@ -173,6 +173,14 @@ class Item extends React.Component {
}
<
/View
>
{
item
.
note
!=
undefined
&&
item
.
note
!=
''
?
(
<
View
style
=
{{
marginLeft
:
5
,
marginRight
:
5
}}
>
<
Text
style
=
{{
fontSize
:
12
,
marginTop
:
8
,
marginHorizontal
:
5
,
fontFamily
:
'Gotham-Light'
,
color
:
'#838383'
}}
>
{
item
.
note
}
<
/Text>
<
/View
>
):(
false
)
}
<
/View
>
<
/View
>
)}
...
...
view/ItemShopingCart.js
View file @
7cf95b08
...
...
@@ -112,7 +112,7 @@ class ItemShoping extends React.Component {
<
/View
>
<
View
style
=
{{
flex
:
2
}}
>
<
View
style
=
{{
marginLeft
:
5
,
marginRight
:
5
}}
>
<
Text
style
=
{{
fontSize
:
14
,
margin
:
5
,
marginRight
:
10
,
fontFamily
:
'Gotham-Black'
,
color
:
'#838383'
}}
>
{
item
.
name
}
<
/Text
>
<
Text
style
=
{{
fontSize
:
14
,
margin
:
5
,
marginRight
:
10
,
fontFamily
:
'Gotham-Black'
,
color
:
'#838383'
}}
>
{
item
.
name
}
<
/Text>
<
NumberFormat
decimalScale
=
{
0
}
value
=
{
item
.
price
}
renderText
=
{
value
=>
<
Text
style
=
{{
fontSize
:
14
,
margin
:
5
,
marginRight
:
10
,
fontFamily
:
'Gotham-Light'
,
color
:
'grey'
}}
>
Rp
.
{
value
}
<
/Text>} displayType={'text'} thousandSeparator={true} prefix={''} /
>
<
/View
>
<
View
style
=
{{
marginLeft
:
5
,
marginRight
:
5
,
flexDirection
:
'row'
}}
>
...
...
@@ -149,6 +149,13 @@ class ItemShoping extends React.Component {
<
/TouchableOpacity
>
<
/View
>
<
/View
>
{
item
.
note
!=
undefined
&&
item
.
note
!=
''
?
(
<
View
style
=
{{
marginLeft
:
5
,
marginRight
:
5
}}
>
<
Text
style
=
{{
fontSize
:
12
,
marginTop
:
8
,
marginHorizontal
:
5
,
fontFamily
:
'Gotham-Light'
,
color
:
'#838383'
}}
>
{
item
.
note
}
<
/Text>
<
/View
>
):(
false
)
}
<
/View
>
<
/View
>
<
/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