dashboard
This commit is contained in:
@@ -2,7 +2,18 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-4 col-sm-6 col-md-offset-4 col-sm-offset-3">
|
<div class="col-md-4 col-sm-6 col-md-offset-4 col-sm-offset-3">
|
||||||
<%= current_login_employee.name %>
|
<%= current_login_employee.name %>
|
||||||
<%= current_login_employee.role %>
|
<% if current_login_employee.role = "admin" %>
|
||||||
|
<% elsif current_login_employee.role = "cashier" %>
|
||||||
|
<%= link_to "Cashier Station", origami_path %>
|
||||||
|
|
||||||
|
<% elsif current_login_employee = "waiter" %>
|
||||||
|
<%= link_to "Cashier Station", oishi_path %>
|
||||||
|
|
||||||
|
<% else %>
|
||||||
|
<%= link_to "Cashier Station", oishi_path %>
|
||||||
|
|
||||||
|
<% end %>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user