diff --git a/app/models/customer.rb b/app/models/customer.rb
index 949093ea..fcdd7f31 100755
--- a/app/models/customer.rb
+++ b/app/models/customer.rb
@@ -143,7 +143,7 @@ class Customer < ApplicationRecord
def self.update_rebate
sales = Sale.where("rebate_status = 'false'")
sales.each do |sale|
- if sale.customer.membership_id
+ if sale.customer.membership_id
response = self.rebat(Sale.find(sale.sale_id))
#record an payment in sale-audit
if !response.nil?
diff --git a/app/views/origami/home/show.html.erb b/app/views/origami/home/show.html.erb
index 1f387be9..8440f354 100755
--- a/app/views/origami/home/show.html.erb
+++ b/app/views/origami/home/show.html.erb
@@ -407,8 +407,9 @@
<% end %>
<% if @status_sale == 'sale' %>
-
-
+
+
+
@@ -424,7 +425,7 @@
<%end%>
<% end %>
-
+
<% end %>
diff --git a/app/views/origami/rooms/show.html.erb b/app/views/origami/rooms/show.html.erb
index c6c749cd..385129bf 100755
--- a/app/views/origami/rooms/show.html.erb
+++ b/app/views/origami/rooms/show.html.erb
@@ -380,8 +380,9 @@
<% if @status_sale == 'sale' %>
-
-
+
+
+
@@ -397,7 +398,7 @@
<%end%>
<%end%>
-
+
<% end %>
">
<%= @membership.discount%>