add dashboard settings and customer create

This commit is contained in:
phyusin
2018-07-13 18:00:49 +06:30
parent 0096c1479d
commit 4783e35942
17 changed files with 106 additions and 45 deletions

View File

@@ -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>