From d8243afaab0a06c85f6206eacd53f20ea2d92927 Mon Sep 17 00:00:00 2001 From: phyusin Date: Tue, 27 Feb 2018 11:09:28 +0630 Subject: [PATCH] check = split btn --- app/views/origami/split_bill/index.html.erb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/origami/split_bill/index.html.erb b/app/views/origami/split_bill/index.html.erb index 12148e28..fdd07dd8 100755 --- a/app/views/origami/split_bill/index.html.erb +++ b/app/views/origami/split_bill/index.html.erb @@ -198,7 +198,7 @@ # Receipt No. Total - <% if !@current_user.nil? && @current_user.role == 'cashier' %> + <% if !@current_user.nil? && @current_user.role != 'waiter' %> Action <% end %> @@ -238,7 +238,9 @@
<% if !@current_user.nil? && @current_user.role != 'waiter' %> - + <% if !@sale_data.empty? %> + + <% end %> <% end %> <% if !@orders.empty? %>