food court cashier
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
<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">
|
||||
<%if current_login_employee.role == "foodcourt_cashier" %>
|
||||
<%food_court = Lookup.find_by_lookup_type_and_value("food_court", "1")%>
|
||||
<% if food_court %>
|
||||
<%= link_to 'Back', foodcourt_food_court_path %>
|
||||
<% else %>
|
||||
<%= link_to 'Back', dashboard_path %>
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
<li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
|
||||
<li class="breadcrumb-item active"><%= t("views.right_panel.detail.order") %></li>
|
||||
<span class="float-right">
|
||||
<%if current_login_employee.role == "foodcourt_cashier" %>
|
||||
<%food_court = Lookup.find_by_lookup_type_and_value("food_court", "1")%>
|
||||
<% if food_court %>
|
||||
<%= link_to 'Back', foodcourt_food_court_path %>
|
||||
<% else %>
|
||||
<%= link_to 'Back', dashboard_path %>
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
<li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
|
||||
<li class="breadcrumb-item active"><%= t :sale %></li>
|
||||
<span class="float-right">
|
||||
<%if current_login_employee.role == "foodcourt_cashier" %>
|
||||
<%food_court = Lookup.find_by_lookup_type_and_value("food_court", "1")%>
|
||||
<% if food_court %>
|
||||
<%= link_to 'Back', transactions_bookings_path %>
|
||||
<% else %>
|
||||
<%= link_to 'Back', dashboard_path %>
|
||||
|
||||
Reference in New Issue
Block a user