From 3f9d491cc4536baef964784131a3f27d54d0a17d Mon Sep 17 00:00:00 2001 From: phyusin Date: Fri, 23 Feb 2018 14:06:35 +0630 Subject: [PATCH] check role for = split --- app/views/origami/split_bill/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/origami/split_bill/index.html.erb b/app/views/origami/split_bill/index.html.erb index c00234e4..12148e28 100755 --- a/app/views/origami/split_bill/index.html.erb +++ b/app/views/origami/split_bill/index.html.erb @@ -237,7 +237,7 @@
- <% if !@current_user.nil? && @current_user.role == 'cashier' %> + <% if !@current_user.nil? && @current_user.role != 'waiter' %> <% end %> <% if !@orders.empty? %>