membership update
This commit is contained in:
@@ -181,11 +181,10 @@ class Origami::DiscountsController < BaseOrigamiController
|
||||
rescue SocketError
|
||||
response = {:status=> false, :message => "Can't open membership server " }
|
||||
end
|
||||
|
||||
|
||||
table_id = sale.bookings[0].dining_facility_id
|
||||
table_type = DiningFacility.find(table_id).type
|
||||
puts response
|
||||
puts "sssssssssss"
|
||||
|
||||
# Re-calc All Amount in Sale
|
||||
if response["status"] == true
|
||||
discount_amount = response["discount_earned"]
|
||||
|
||||
Reference in New Issue
Block a user