add dashboard settings and customer create
This commit is contained in:
@@ -30,7 +30,11 @@
|
||||
<ul class="list">
|
||||
<li class="header"><%= t :main_navigation %></li>
|
||||
<li class="active">
|
||||
<a href="<%= dashboard_path %>">
|
||||
<% if current_login_employee.role == "administrator" || current_login_employee.role == "manager" || current_login_employee.role == "account" %>
|
||||
<a href="<%= dashboard_path %>">
|
||||
<% elsif current_login_employee.role == "supervisor" || current_login_employee.role == "cashier" || current_login_employee.role == "waiter" %>
|
||||
<a href="<%= origami_dashboard_path %>">
|
||||
<%end%>
|
||||
<i class="material-icons">home</i>
|
||||
<span><%= t :dashboard %></span>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user