diff --git a/app/controllers/origami/addorders_controller.rb b/app/controllers/origami/addorders_controller.rb
index 100635cd..a9820011 100755
--- a/app/controllers/origami/addorders_controller.rb
+++ b/app/controllers/origami/addorders_controller.rb
@@ -18,9 +18,6 @@ class Origami::AddordersController < BaseOrigamiController
if check_mobile
@webview = true
end
-
- today = DateTime.now
- day = Date.today.wday
@menus = Menu.all
@menu = MenuCategory.active.where("menu_id =#{@menus[0].id}").order('order_by asc')
@table_id = params[:id]
diff --git a/app/views/origami/addorders/detail.html.erb b/app/views/origami/addorders/detail.html.erb
index 5f451408..241fe79c 100644
--- a/app/views/origami/addorders/detail.html.erb
+++ b/app/views/origami/addorders/detail.html.erb
@@ -43,46 +43,46 @@
Products
<% @menu.each do |menu| %>
- <% if !menu.valid_time.nil? %>
- <% if menu.menu_category_id.nil? %>
-
- <% if type %>
- <% if !menu.code.include? "SPL" %>
-
- <% end%>
-
- <% else %>
- <% if @table.get_current_checkout_booking.nil? %>
- <% if !menu.code.include? "SPL" %>
-
- <% end%>
- <% else %>
-
- <% end%>
-
- <% end %>
- <% end%>
- <% end %>
- <%end %>
-
+ <% if !menu.valid_time.nil? %>
+ <% if menu.menu_category_id.nil? %>
+
+ <% if type %>
+ <% if !menu.code.include? "SPL" %>
+
+ <% end%>
+
+ <% else %>
+ <% if @table.get_current_checkout_booking.nil? %>
+ <% if !menu.code.include? "SPL" %>
+
+ <% end%>
+ <% else %>
+
+ <% end%>
+
+ <% end %>
+ <% end%>
+ <% end %>
+ <%end %>
+
diff --git a/app/views/origami/sales/show.html.erb b/app/views/origami/sales/show.html.erb
index 0eaabce1..d5c47376 100755
--- a/app/views/origami/sales/show.html.erb
+++ b/app/views/origami/sales/show.html.erb
@@ -198,13 +198,74 @@
- <% if @sale.sale_status != 'void' %>
-
- <% end %>
+ <% if @sale.sale_status != 'void' %>
+ <% if current_login_employee.role == "cashier" %>
+
Void
+ <% else %>
+
+ <% end %>
+ <% end %>
+
+
+
+