fixed split bill

This commit is contained in:
NyanLinHtut
2019-10-04 18:20:14 +06:30
parent 971b1da98c
commit 2d5ae6da93

View File

@@ -333,7 +333,7 @@ class Origami::SplitBillController < BaseOrigamiController
end end
end end
Promotion.promo_activate(sale) Promotion.promo_activate(sale_data)
if ENV["SERVER_MODE"] == 'cloud' if ENV["SERVER_MODE"] == 'cloud'
from = request.subdomain + "." + request.domain from = request.subdomain + "." + request.domain
else else