Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
clone_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
clone_excelso
Commits
68aaf8d1
Commit
68aaf8d1
authored
May 13, 2020
by
Wahyu Adjie Prasetyo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://repo.cs.co.id:2222/wahyu/bahanoprek
parents
f3d4bafb
7a30f19f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
MenuConfirmation.js
view/MenuConfirmation.js
+2
-2
ShoppingCart.js
view/ShoppingCart.js
+1
-0
No files found.
view/MenuConfirmation.js
View file @
68aaf8d1
...
...
@@ -48,7 +48,7 @@ class MenuConfirmation extends React.Component {
}
// console.log(is_pickup)
if
(
this
.
props
.
value
==
''
)
{
if
(
this
.
props
.
value
_voucher
==
''
)
{
let
params
=
{
session_id
:
this
.
props
.
session_id
,
outlet_id
:
this
.
props
.
outlet_id
,
...
...
@@ -197,7 +197,7 @@ class MenuConfirmation extends React.Component {
render
()
{
console
.
log
(
this
.
props
.
long
)
// console.log(this.props.value_voucher
)
let
total
=
0
return
(
<
ScrollView
style
=
{
styles
.
container
}
>
...
...
view/ShoppingCart.js
View file @
68aaf8d1
...
...
@@ -483,6 +483,7 @@ class ShoppingCart extends React.Component {
<
View
style
=
{{
alignItems
:
'center'
}}
>
{
this
.
state
.
kasproBalance
<
this
.
props
.
order_total
+
this
.
props
.
grabamount
||
this
.
props
.
order_total
==
0
?
(
<
Card
style
=
{{
margin
:
5
,
padding
:
10
,
backgroundColor
:
'gray'
}}
>
<
View
style
=
{{
flexDirection
:
'row'
,
justifyContent
:
'space-between'
,
alignItems
:
'center'
}}
>
...
...
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