Print close cashier
This commit is contained in:
@@ -19,8 +19,14 @@
|
||||
<a href="javascript:void(0);" class="bars"></a>
|
||||
<% if current_login_employee.role == "administrator" || current_login_employee.role == "manager" || current_login_employee.role == "account" %>
|
||||
<a class="navbar-brand mbl_view" href="<%=dashboard_path%>" style="margin-left: 20px;">
|
||||
<% elsif current_login_employee.role == "supervisor" || current_login_employee.role == "cashier" || current_login_employee.role == "waiter" %>
|
||||
<% elsif current_login_employee.role == "supervisor" %>
|
||||
<a class="navbar-brand mbl_view" href="<%=origami_dashboard_path%>" style="margin-left: 20px;">
|
||||
<% elsif current_login_employee.role == "cashier" || current_login_employee.role == "waiter"%>
|
||||
<%if ShiftSale.current_open_shift(current_login_employee) %>
|
||||
<a class="navbar-brand mbl_view" href="<%=origami_dashboard_path%>" style="margin-left: 20px;">
|
||||
<%else%>
|
||||
<a class="navbar-brand mbl_view" href="" style="margin-left: 20px;">
|
||||
<%end%>
|
||||
<%else%>
|
||||
<a class="navbar-brand mbl_view" href="" style="margin-left: 20px;">
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user