Commit 68aaf8d1 authored by Wahyu Adjie Prasetyo's avatar Wahyu Adjie Prasetyo
parents f3d4bafb 7a30f19f
...@@ -48,7 +48,7 @@ class MenuConfirmation extends React.Component { ...@@ -48,7 +48,7 @@ class MenuConfirmation extends React.Component {
} }
// console.log(is_pickup) // console.log(is_pickup)
if (this.props.value == '') { if (this.props.value_voucher == '') {
let params = { let params = {
session_id: this.props.session_id, session_id: this.props.session_id,
outlet_id: this.props.outlet_id, outlet_id: this.props.outlet_id,
...@@ -197,7 +197,7 @@ class MenuConfirmation extends React.Component { ...@@ -197,7 +197,7 @@ class MenuConfirmation extends React.Component {
render() { render() {
console.log(this.props.long) // console.log(this.props.value_voucher)
let total = 0 let total = 0
return ( return (
<ScrollView style={styles.container}> <ScrollView style={styles.container}>
......
...@@ -483,6 +483,7 @@ class ShoppingCart extends React.Component { ...@@ -483,6 +483,7 @@ class ShoppingCart extends React.Component {
<View style={{ alignItems: 'center' }}> <View style={{ alignItems: 'center' }}>
{ {
this.state.kasproBalance < this.props.order_total + this.props.grabamount || this.props.order_total == 0 ? ( this.state.kasproBalance < this.props.order_total + this.props.grabamount || this.props.order_total == 0 ? (
<Card style={{ margin: 5, padding: 10, backgroundColor: 'gray' }}> <Card style={{ margin: 5, padding: 10, backgroundColor: 'gray' }}>
<View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}> <View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment