From bf25d7697b4d665ea4d532bb79dfa53976f09560 Mon Sep 17 00:00:00 2001 From: Aung Myo Date: Tue, 11 Jul 2017 18:47:36 +0630 Subject: [PATCH] update member discount --- app/controllers/origami/discounts_controller.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/controllers/origami/discounts_controller.rb b/app/controllers/origami/discounts_controller.rb index 00a25021..e0596166 100644 --- a/app/controllers/origami/discounts_controller.rb +++ b/app/controllers/origami/discounts_controller.rb @@ -179,9 +179,10 @@ class Origami::DiscountsController < BaseOrigamiController rescue SocketError response = { status: false, message: "Can't open membership server "} end - puts "sssssssss" -puts response.to_json + puts "ssssssssss" + puts response.to_json + table_id = sale.bookings[0].dining_facility_id table_type = DiningFacility.find(table_id).type