Out of stock icon
This commit is contained in:
@@ -51,6 +51,13 @@
|
|||||||
<div class="navbar-right m-auto">
|
<div class="navbar-right m-auto">
|
||||||
<span class="navbar-brand navbar-brand-txt"><%= current_shop.name %></span>
|
<span class="navbar-brand navbar-brand-txt"><%= current_shop.name %></span>
|
||||||
</div>
|
</div>
|
||||||
|
<% if current_login_employee.role == "cashier" %>
|
||||||
|
<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>
|
||||||
|
</div>
|
||||||
|
<%end%>
|
||||||
<!-- End Shop Info -->
|
<!-- End Shop Info -->
|
||||||
<%food_court = Lookup.find_by_lookup_type_and_value("food_court", "1")%>
|
<%food_court = Lookup.find_by_lookup_type_and_value("food_court", "1")%>
|
||||||
<% if !food_court %>
|
<% if !food_court %>
|
||||||
@@ -124,6 +131,7 @@
|
|||||||
<!-- End Quick Access for Cashier -->
|
<!-- End Quick Access for Cashier -->
|
||||||
|
|
||||||
<!-- Start Delete confirrm text !-->
|
<!-- Start Delete confirrm text !-->
|
||||||
|
|
||||||
<div class="navbar-right toggle_mbl">
|
<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">
|
<a href="javascript:void(0);" class="dropdown-toggle waves-block" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
||||||
<% if current_login_employee %>
|
<% if current_login_employee %>
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
<div class="container-fluid d-flex flex-column h-100" style="padding:0px 3px 0px 3px;">
|
<div class="container-fluid d-flex flex-column h-100" style="padding:0px 3px 0px 3px;">
|
||||||
|
<% if current_login_employee.role != "cashier" && current_login_employee.role !="waiter"%>
|
||||||
<% breadcrumb_add t('out_of_stock'), "", dashboard_path %>
|
<% breadcrumb_add t('out_of_stock'), "", dashboard_path %>
|
||||||
|
<%end%>
|
||||||
<div class="row flex-grow-1">
|
<div class="row flex-grow-1">
|
||||||
<div class="col-sm-12 col-xs-12 d-flex flex-column h-100">
|
<div class="col-sm-12 col-xs-12 d-flex flex-column h-100">
|
||||||
<div class="card h-100">
|
<div class="card h-100">
|
||||||
|
|||||||
Reference in New Issue
Block a user