fix cashier page height & breadcrumb helper

This commit is contained in:
Zin Moe
2020-01-27 16:30:58 +06:30
parent c8ff92975e
commit bca6fabaaf
142 changed files with 266 additions and 1207 deletions

View File

@@ -196,7 +196,7 @@
<!-- Column Two -->
<div class="col-lg-5 col-md-5 col-sm-5">
<div class="card">
<div class="home card">
<% existing_class = "" %><% existing_order = false %>
<% if @status_sale == 'sale'
unless @order_items.nil? || @order_items.empty?%>
@@ -276,7 +276,7 @@
</div>
</div>
</div>
<div id="order-detail-slimscroll" data-height="<%= @status_sale=="sale" ? 200 : 160%>">
<div id="order-detail-slimscroll" data-height="<%= @status_sale=="sale" ? 270 : 415%>">
<div class="card-text" >
<table class="table table-striped" id="order-items-table">
<thead>
@@ -346,7 +346,7 @@
</table>
</div>
</div>
<div class="card-footer">
<div class="home card-footer">
<table class="table" id="order-charges-table" border="0">
<tr>
<td class="charges-name"><strong>Sub Total:</strong></td>
@@ -377,7 +377,7 @@
<% else %>
<input type="hidden" name="" id="check_tax" value="">
No Tax
<% end %></strong><br>
<% end %></strong>
<%if !@webview && @changable_tax %>
<% if @current_user.role == 'cashier' %>
<button class="btn btn-link waves-effect bg-info access_modal" data-type="change_tax">Change Tax</button>