change spent cal:
This commit is contained in:
@@ -61,12 +61,12 @@ if (@booking)
|
|||||||
|
|
||||||
# For YGN BBQ
|
# For YGN BBQ
|
||||||
# if adult_count > 0
|
# if adult_count > 0
|
||||||
# json.per_adult_spent (adult_spent/adult_count) * 0.05
|
# json.per_adult_spent adult_spent + ((adult_spent/adult_count) * 0.05)
|
||||||
# else
|
# else
|
||||||
json.per_adult_spent 0
|
json.per_adult_spent 0
|
||||||
# end
|
# end
|
||||||
# if child_count > 0
|
# if child_count > 0
|
||||||
# json.per_child_spent (child_spent/child_count) * 0.05
|
# json.per_child_spent child_spent + ((child_spent/child_count) * 0.05)
|
||||||
# else
|
# else
|
||||||
json.per_child_spent 0
|
json.per_child_spent 0
|
||||||
# end
|
# end
|
||||||
|
|||||||
Reference in New Issue
Block a user