Merge branch 'r-1902001-01' into foodcourt
This commit is contained in:
@@ -18,26 +18,10 @@
|
||||
<div class="navbar-header">
|
||||
<!-- <a href="javascript:void(0);" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false"></a> -->
|
||||
<%if current_login_employee.role !="waiter" %>
|
||||
<a href="javascript:void(0);" class="bars <%= display_none %>"></a>
|
||||
<% if current_login_employee.role == "administrator" || current_login_employee.role == "manager" || current_login_employee.role == "account" %>
|
||||
<a class="navbar-brand mbl_view" href="<%=dashboard_path%>" style="margin-left: 20px;">
|
||||
<% elsif current_login_employee.role == "supervisor" %>
|
||||
<a class="navbar-brand mbl_view" href="<%=origami_dashboard_path%>" style="margin-left: 20px;">
|
||||
<% elsif current_login_employee.role == "cashier" || current_login_employee.role == "waiter"%>
|
||||
<%if ShiftSale.current_open_shift(current_login_employee) %>
|
||||
<%if current_login_employee.role == "cashier" && food_court %>
|
||||
<a class="navbar-brand mbl_view" href="<%=foodcourt_food_court_path%>" style="margin-left: -10px;">
|
||||
<%else%>
|
||||
<a class="navbar-brand mbl_view" href="<%=origami_dashboard_path%>" style="margin-left: 20px;">
|
||||
<%end%>
|
||||
<%else%>
|
||||
<a class="navbar-brand mbl_view" href="" style="margin-left: 20px;">
|
||||
<%end%>
|
||||
<%else%>
|
||||
<a class="navbar-brand mbl_view" href="" style="margin-left: 20px;">
|
||||
<% end %>
|
||||
<a href="javascript:void(0);" class="bars"></a>
|
||||
<a class="navbar-brand mbl_view" href="<%= root_path %>" style="margin-left: 20px;">
|
||||
<% else %>
|
||||
<a class="navbar-brand m-0 mbl_view" href="<%= origami_dashboard_path%>">
|
||||
<a class="navbar-brand m-0 mbl_view" href="<%= root_path %>">
|
||||
<%end%>
|
||||
<img src="<%= asset_path('SX-Logo-small.png') %>" width="40" height="40" alt="Logo", class="<%= display_none.present? ? 'm-0' : '' %>" />
|
||||
<span class="navbar-brand-txt">SX Restaurant</span>
|
||||
@@ -55,7 +39,7 @@
|
||||
<div class="mr-4">
|
||||
<a class="pt-2" href="<%= settings_out_of_stock_index_path %>">
|
||||
<i class="material-icons" style="margin:25%; color:white;">phonelink_erase</i>
|
||||
</a>
|
||||
</a>
|
||||
</div>
|
||||
<%end%>
|
||||
<!-- End Shop Info -->
|
||||
@@ -131,7 +115,7 @@
|
||||
<!-- End Quick Access for Cashier -->
|
||||
|
||||
<!-- Start Delete confirrm text !-->
|
||||
|
||||
|
||||
<div class="navbar-right toggle_mbl">
|
||||
<a href="javascript:void(0);" class="dropdown-toggle waves-block" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
||||
<% if current_login_employee %>
|
||||
|
||||
@@ -324,6 +324,9 @@
|
||||
</li>
|
||||
<li>
|
||||
<a href="<%= reports_void_sale_index_path %>">Void Sales</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<%= reports_customer_index_path %>">Customer Sales</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<%= reports_waste_and_spoilage_index_path %>">Wastes & Spoilages</a>
|
||||
|
||||
Reference in New Issue
Block a user