Out of stock icon

This commit is contained in:
yarzar_code
2020-05-19 13:29:06 +06:30
parent 871403382e
commit 2581b9db67
2 changed files with 10 additions and 0 deletions

View File

@@ -51,6 +51,13 @@
<div class="navbar-right m-auto">
<span class="navbar-brand navbar-brand-txt"><%= current_shop.name %></span>
</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 -->
<%food_court = Lookup.find_by_lookup_type_and_value("food_court", "1")%>
<% if !food_court %>
@@ -124,6 +131,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 %>

View File

@@ -1,5 +1,7 @@
<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 %>
<%end%>
<div class="row flex-grow-1">
<div class="col-sm-12 col-xs-12 d-flex flex-column h-100">
<div class="card h-100">