separate foodcourt module

This commit is contained in:
Myat Zin Wai Maw
2019-12-02 16:10:51 +06:30
parent 09e7650452
commit cac6994ccb
113 changed files with 14365 additions and 193 deletions

View File

@@ -3,7 +3,11 @@
<li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
<li class="breadcrumb-item active"><%= t :booking %></li>
<span class="float-right">
<%= link_to 'Back', dashboard_path %>
<%if current_login_employee.role == "foodcourt_cashier" %>
<%= link_to 'Back', foodcourt_food_court_path %>
<% else %>
<%= link_to 'Back', dashboard_path %>
<%end%>
</span>
</ol>
</div>