diff --git a/app/views/origami/home/show.html.erb b/app/views/origami/home/show.html.erb index acd3c914..86984dc1 100755 --- a/app/views/origami/home/show.html.erb +++ b/app/views/origami/home/show.html.erb @@ -316,8 +316,8 @@ - <% if @dining.bookings.length >= 1 %> - <% if @status_order == 'order' && @status_sale != 'sale' %> + <% if @dining.status != "available" %> + <% if @status_order == 'order' %> @@ -327,7 +327,8 @@ - <% else %> + <% end %> + <% if @status_sale == 'sale' %>